Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001312/0.001312, allocations: 109.6 kB / 19.73 MB, free: 2.227 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.001469/0.001469, allocations: 216.6 kB / 23.05 MB, free: 5.062 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002477/0.002477, allocations: 276.9 kB / 313.5 MB, free: 2.945 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00279/0.00279, allocations: 99.09 kB / 0.7404 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.163, allocations: 95.38 MB / 0.8335 GB, free: 8.688 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00497/0.1679, allocations: 3.217 MB / 0.8366 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002817/0.1708, allocations: 1.808 MB / 0.8384 GB, free: 3.641 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1709, allocations: 7.938 kB / 0.8384 GB, free: 3.633 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.1719, allocations: 352.3 kB / 0.8387 GB, free: 3.289 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.1724, allocations: 219 kB / 0.839 GB, free: 3.074 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.1728, allocations: 191.4 kB / 0.8391 GB, free: 2.887 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.1732, allocations: 311 kB / 0.8394 GB, free: 2.582 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.1735, allocations: 177 kB / 0.8396 GB, free: 2.406 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.1738, allocations: 143.6 kB / 0.8397 GB, free: 2.266 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.1741, allocations: 167.4 kB / 0.8399 GB, free: 2.102 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.1741, allocations: 20 kB / 0.8399 GB, free: 2.082 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.1745, allocations: 251.5 kB / 0.8402 GB, free: 1.836 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1747, allocations: 103.7 kB / 0.8403 GB, free: 1.734 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.1748, allocations: 119.4 kB / 0.8404 GB, free: 1.617 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.1754, allocations: 438.5 kB / 0.8408 GB, free: 1.188 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1754, allocations: 0 / 0.8408 GB, free: 1.188 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1754, allocations: 0 / 0.8408 GB, free: 1.188 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.1754, allocations: 0 / 0.8408 GB, free: 1.188 MB / 0.5763 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.0009169/0.1763, allocations: 481.4 kB / 0.8412 GB, free: 0.6836 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1763, allocations: 9.344 kB / 0.8413 GB, free: 0.6758 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.808e-05/0.1763, allocations: 8.625 kB / 0.8413 GB, free: 0.668 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.485e-05/0.1764, allocations: 66.72 kB / 0.8413 GB, free: 0.5938 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007247/0.1771, allocations: 96.64 kB / 0.8414 GB, free: 0.5 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.1775, allocations: 204.8 kB / 0.8416 GB, free: 284 kB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.1775, allocations: 16.81 kB / 0.8416 GB, free: 268 kB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.1776, allocations: 28.3 kB / 0.8417 GB, free: 240 kB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005841/0.1782, allocations: 368.6 kB / 0.842 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1782, allocations: 0 / 0.842 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.1782, allocations: 15.98 kB / 0.842 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.64e-05/0.1783, allocations: 28.41 kB / 0.8421 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.1788, allocations: 309.5 kB / 0.8423 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.1806, allocations: 1.483 MB / 0.8438 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.1811, allocations: 218.4 kB / 0.844 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.1812, allocations: 108.8 kB / 0.8441 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.984e-05/0.1813, allocations: 11.98 kB / 0.8441 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.1814, allocations: 34.56 kB / 0.8442 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.1814, allocations: 0 / 0.8442 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001253/0.1826, allocations: 0.7213 MB / 0.8449 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.1827, allocations: 55.41 kB / 0.8449 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1829, allocations: 191.8 kB / 0.8451 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.1829, allocations: 33.7 kB / 0.8451 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.183, allocations: 164.2 kB / 0.8453 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.1831, allocations: 75.31 kB / 0.8454 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1832, allocations: 53.69 kB / 0.8454 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1833, allocations: 334.8 kB / 0.8457 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.1835, allocations: 107.9 kB / 0.8458 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.1837, allocations: 183 kB / 0.846 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.1841, allocations: 301.7 kB / 0.8463 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1841, allocations: 0 / 0.8463 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007639/0.1849, allocations: 421.2 kB / 0.8467 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1849, allocations: 4 kB / 0.8467 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1849, allocations: 0 / 0.8467 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.1853, allocations: 105 kB / 0.8468 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.1856, allocations: 51.89 kB / 0.8468 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.1876, allocations: 1.772 MB / 0.8486 GB, free: 8.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.1878, allocations: 19.97 kB / 0.8486 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.1879, allocations: 12 kB / 0.8486 GB, free: 8.684 MB / 0.5919 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.0001767/0.188, allocations: 161.2 kB / 0.8488 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.1881, allocations: 15.91 kB / 0.8488 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.1886, allocations: 295.5 kB / 0.8491 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1886, allocations: 0 / 0.8491 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1886, allocations: 7.938 kB / 0.8491 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1886, allocations: 0 / 0.8491 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009828/0.1896, allocations: 0.6764 MB / 0.8497 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1896, allocations: 3.938 kB / 0.8497 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.1899, allocations: 59.89 kB / 0.8498 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1899, allocations: 3.938 kB / 0.8498 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.1899, allocations: 12.06 kB / 0.8498 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1899, allocations: 0 / 0.8498 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1899, allocations: 0 / 0.8498 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/0.1906, allocations: 0.5191 MB / 0.8503 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.61e-05/0.1907, allocations: 39.86 kB / 0.8503 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.1907, allocations: 11.98 kB / 0.8504 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.1909, allocations: 12.05 kB / 0.8504 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.1909, allocations: 15.97 kB / 0.8504 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.191, allocations: 8 kB / 0.8504 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001403/0.1911, allocations: 144 kB / 0.8505 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1911, allocations: 0 / 0.8505 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003671/0.1915, allocations: 71.94 kB / 0.8506 GB, free: 6.555 MB / 0.5919 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.001028/0.1925, allocations: 1.061 MB / 0.8516 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007811/0.1933, allocations: 402.6 kB / 0.852 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1933, allocations: 0 / 0.852 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.1934, allocations: 119.8 kB / 0.8521 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.1938, allocations: 32.42 kB / 0.8522 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/0.1978, allocations: 2.906 MB / 0.855 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.1982, allocations: 0.7712 MB / 0.8558 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.1984, allocations: 57.89 kB / 0.8558 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.1985, allocations: 71.41 kB / 0.8559 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.1985, allocations: 7.938 kB / 0.8559 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.2274, allocations: 5.367 MB / 0.8611 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.79, allocations: 11.3 kB / 0.8611 GB, free: 11.73 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.854832667042501] Failed to read output from testmodel.py, exit status != 0: 11.95182721602032 11.967161563 11.788924842 Calling exit ...