Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.63/2.63, allocations: 284.9 MB / 292.4 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 184.8 kB / 360.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.2 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 95.97 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.629e-05, allocations: 0 / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8094, allocations: 115.3 MB / 0.9634 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2854/1.095, allocations: 163.9 MB / 1.123 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003949/1.095, allocations: 102.1 kB / 1.124 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07131/1.167, allocations: 16.4 MB / 1.14 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.744e-06/1.167, allocations: 0 / 1.14 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.785e-05/1.167, allocations: 11.98 kB / 1.14 GB, free: 7.914 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001176/1.168, allocations: 0.506 MB / 1.14 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/1.168, allocations: 16.02 kB / 1.14 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/1.169, allocations: 92.77 kB / 1.14 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/1.17, allocations: 265.5 kB / 1.14 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/1.17, allocations: 15.98 kB / 1.14 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/1.17, allocations: 12 kB / 1.14 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006866/1.171, allocations: 224.9 kB / 1.141 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007819/1.172, allocations: 328.2 kB / 1.141 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/1.172, allocations: 0 / 1.141 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/1.172, allocations: 0 / 1.141 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/1.172, allocations: 20.42 kB / 1.141 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/1.175, allocations: 1.478 MB / 1.142 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/1.176, allocations: 218.5 kB / 1.143 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/1.176, allocations: 110.6 kB / 1.143 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/1.176, allocations: 85.09 kB / 1.143 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.176, allocations: 34.56 kB / 1.143 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 6.332e-06/1.176, allocations: 0 / 1.143 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.00224/1.178, allocations: 0.7145 MB / 1.144 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/1.179, allocations: 63.39 kB / 1.144 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/1.179, allocations: 157.4 kB / 1.144 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/1.179, allocations: 25.7 kB / 1.144 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/1.179, allocations: 163.9 kB / 1.144 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/1.179, allocations: 71 kB / 1.144 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/1.179, allocations: 3.938 kB / 1.144 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.179, allocations: 327 kB / 1.144 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/1.18, allocations: 104 kB / 1.144 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/1.18, allocations: 154 kB / 1.145 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/1.181, allocations: 151.8 kB / 1.145 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.181, allocations: 0 / 1.145 GB, free: 2.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001328/1.182, allocations: 401.9 kB / 1.145 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.182, allocations: 8 kB / 1.145 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.182, allocations: 3.938 kB / 1.145 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/1.183, allocations: 99.02 kB / 1.145 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/1.183, allocations: 47.91 kB / 1.145 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/1.186, allocations: 1.662 MB / 1.147 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/1.186, allocations: 11.94 kB / 1.147 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/1.186, allocations: 15.94 kB / 1.147 GB, free: 15.87 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/1.186, allocations: 108.8 kB / 1.147 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008408/1.187, allocations: 268.1 kB / 1.147 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/1.187, allocations: 15.81 kB / 1.147 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009071/1.188, allocations: 295.4 kB / 1.148 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.188, allocations: 0 / 1.148 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.188, allocations: 1.5 kB / 1.148 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.188, allocations: 0 / 1.148 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/1.19, allocations: 0.6651 MB / 1.148 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.19, allocations: 0 / 1.148 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/1.191, allocations: 63.89 kB / 1.148 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/1.191, allocations: 0 / 1.148 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/1.191, allocations: 7.984 kB / 1.148 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.191, allocations: 0 / 1.148 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.191, allocations: 0 / 1.148 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.192, allocations: 0.5379 MB / 1.149 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/1.192, allocations: 108.9 kB / 1.149 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/1.192, allocations: 10.42 kB / 1.149 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/1.192, allocations: 12.83 kB / 1.149 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/1.193, allocations: 15.94 kB / 1.149 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/1.193, allocations: 8.062 kB / 1.149 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001715/1.193, allocations: 129.5 kB / 1.149 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.61e-07/1.193, allocations: 0 / 1.149 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005769/1.193, allocations: 71.92 kB / 1.149 GB, free: 13.46 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001732/1.195, allocations: 1.229 MB / 1.15 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00109/1.196, allocations: 399.5 kB / 1.151 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/1.196, allocations: 448 / 1.151 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002578/1.197, allocations: 115.5 kB / 1.151 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/1.197, allocations: 29.81 kB / 1.151 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/1.199, allocations: 0.563 MB / 1.151 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/1.199, allocations: 0.7789 MB / 1.152 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000334/1.2, allocations: 56.16 kB / 1.152 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/1.2, allocations: 63.42 kB / 1.152 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of SimCode: time 1.292e-06/1.2, allocations: 0 / 1.152 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/1.245, allocations: 4.111 MB / 1.156 GB, free: 6.113 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/1.245, allocations: 163.2 kB / 1.157 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.758, allocations: 0 / 1.157 GB, free: 5.922 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)