Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 210.2 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.123/3.123, allocations: 0.49 GB / 0.7923 GB, free: 1.348 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 59.91 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9397/0.9417, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003838/0.9456, allocations: 3.13 MB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.948, allocations: 1.787 MB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.9482, allocations: 6.781 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.9492, allocations: 340.3 kB / 1.327 GB, free: 21.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005255/0.9497, allocations: 208.9 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.9502, allocations: 183.2 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000363/0.9506, allocations: 315.2 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003776/0.951, allocations: 192.3 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.9512, allocations: 144.2 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.9515, allocations: 172.6 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.142e-05/0.9516, allocations: 20.78 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004686/0.9521, allocations: 247.3 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.9522, allocations: 104.8 kB / 1.328 GB, free: 20.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.9523, allocations: 121.9 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.9529, allocations: 427.4 kB / 1.329 GB, free: 20.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9529, allocations: 0.5312 kB / 1.329 GB, free: 20.35 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9529, allocations: 4 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.953, allocations: 0.9062 kB / 1.329 GB, free: 20.34 MB / 1.061 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.001022/0.954, allocations: 0.5491 MB / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.954, allocations: 17.75 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.024e-05/0.9541, allocations: 13.5 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.9541, allocations: 59.34 kB / 1.329 GB, free: 19.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007742/0.9549, allocations: 102.8 kB / 1.329 GB, free: 19.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.9552, allocations: 255.8 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.9553, allocations: 21.25 kB / 1.33 GB, free: 19.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.9554, allocations: 27.8 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.9561, allocations: 368.9 kB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.9561, allocations: 4.75 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.9561, allocations: 10.38 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001433/0.9563, allocations: 31.19 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.9568, allocations: 309.3 kB / 1.33 GB, free: 19.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.9585, allocations: 1.52 MB / 1.332 GB, free: 17.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.9589, allocations: 215.1 kB / 1.332 GB, free: 17.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.9591, allocations: 107 kB / 1.332 GB, free: 17.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.9592, allocations: 93.91 kB / 1.332 GB, free: 17.72 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.9592, allocations: 32.17 kB / 1.332 GB, free: 17.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/0.9592, allocations: 0 / 1.332 GB, free: 17.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001328/0.9606, allocations: 0.8036 MB / 1.333 GB, free: 17.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.9606, allocations: 54.41 kB / 1.333 GB, free: 17.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.9608, allocations: 191.3 kB / 1.333 GB, free: 17 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.9608, allocations: 31.42 kB / 1.333 GB, free: 16.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.9609, allocations: 160.9 kB / 1.333 GB, free: 16.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.961, allocations: 78.83 kB / 1.334 GB, free: 16.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.9611, allocations: 53.31 kB / 1.334 GB, free: 16.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.9611, allocations: 332 kB / 1.334 GB, free: 16.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.9613, allocations: 111.7 kB / 1.334 GB, free: 16.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.9615, allocations: 177 kB / 1.334 GB, free: 16.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.9619, allocations: 287.5 kB / 1.334 GB, free: 16.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.9619, allocations: 4 kB / 1.334 GB, free: 16.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008301/0.9628, allocations: 414.6 kB / 1.335 GB, free: 15.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.9628, allocations: 6 kB / 1.335 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.9628, allocations: 2 kB / 1.335 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004847/0.9633, allocations: 104.1 kB / 1.335 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.9636, allocations: 52.27 kB / 1.335 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.9657, allocations: 1.88 MB / 1.337 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.966, allocations: 20.56 kB / 1.337 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.966, allocations: 12.23 kB / 1.337 GB, free: 14.3 MB / 1.061 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.9662, allocations: 152.5 kB / 1.337 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.9663, allocations: 20.52 kB / 1.337 GB, free: 14.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/0.9668, allocations: 303.7 kB / 1.337 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.9668, allocations: 5.375 kB / 1.337 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.9668, allocations: 5.922 kB / 1.337 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.9668, allocations: 0.6094 kB / 1.337 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.9677, allocations: 0.6961 MB / 1.338 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9677, allocations: 0 / 1.338 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.9681, allocations: 61.95 kB / 1.338 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.9681, allocations: 6.25 kB / 1.338 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.9681, allocations: 7.453 kB / 1.338 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.9681, allocations: 5.188 kB / 1.338 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.9681, allocations: 2.406 kB / 1.338 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.9687, allocations: 0.5124 MB / 1.339 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.992e-05/0.9688, allocations: 123.2 kB / 1.339 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.9688, allocations: 3.172 kB / 1.339 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.969, allocations: 14.88 kB / 1.339 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.969, allocations: 23.56 kB / 1.339 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.9691, allocations: 8.156 kB / 1.339 GB, free: 13.11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001218/0.9692, allocations: 143.2 kB / 1.339 GB, free: 13.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9692, allocations: 1.375 kB / 1.339 GB, free: 13.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004208/0.9696, allocations: 65.75 kB / 1.339 GB, free: 13 MB / 1.061 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008118/0.9704, allocations: 1.055 MB / 1.34 GB, free: 12.18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007995/0.9712, allocations: 412.2 kB / 1.34 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.9712, allocations: 4.125 kB / 1.34 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.9714, allocations: 112.2 kB / 1.341 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.9718, allocations: 39.2 kB / 1.341 GB, free: 11.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.9754, allocations: 2.896 MB / 1.343 GB, free: 9.961 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.9757, allocations: 0.7696 MB / 1.344 GB, free: 9.258 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002201/0.9759, allocations: 57.66 kB / 1.344 GB, free: 9.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.976, allocations: 65.83 kB / 1.344 GB, free: 9.203 MB / 1.061 GB Notification: Performance of SimCode: time 1.252e-06/0.976, allocations: 0 / 1.344 GB, free: 9.203 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/1.004, allocations: 5.161 MB / 1.349 GB, free: 8.582 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.55, allocations: 15.7 kB / 1.349 GB, free: 8.574 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.18240897700889] Failed to read output from testmodel.py, exit status != 0: 11.68786534195533 11.699769133 10.744157064 Calling exit ...