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.001673/0.001673, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001424/0.001424, allocations: 216.4 kB / 23.03 MB, free: 4.906 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.002453/0.002453, allocations: 287.2 kB / 313.5 MB, free: 2.594 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.215/1.215, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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.002822/0.002822, allocations: 102.5 kB / 0.7403 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1608, allocations: 95.39 MB / 0.8334 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004828/0.1657, allocations: 3.082 MB / 0.8364 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002914/0.1686, allocations: 1.687 MB / 0.8381 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1687, allocations: 7.938 kB / 0.8381 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.1697, allocations: 328.5 kB / 0.8384 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.1703, allocations: 219.1 kB / 0.8386 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.1707, allocations: 179.6 kB / 0.8388 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000379/0.1711, allocations: 319 kB / 0.8391 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.1714, allocations: 177 kB / 0.8392 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.1717, allocations: 147.5 kB / 0.8394 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.172, allocations: 167.4 kB / 0.8395 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.172, allocations: 27.98 kB / 0.8396 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.1724, allocations: 223.5 kB / 0.8398 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1725, allocations: 107.7 kB / 0.8399 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1727, allocations: 99.59 kB / 0.84 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005439/0.1732, allocations: 426.5 kB / 0.8404 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1732, allocations: 0 / 0.8404 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1732, allocations: 0 / 0.8404 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.1732, allocations: 0 / 0.8404 GB, free: 1.168 MB / 0.5762 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.0009639/0.1742, allocations: 485.4 kB / 0.8408 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1742, allocations: 13.34 kB / 0.8409 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.803e-05/0.1742, allocations: 8.625 kB / 0.8409 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.1743, allocations: 58.72 kB / 0.8409 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007309/0.175, allocations: 100.6 kB / 0.841 GB, free: 488 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.1753, allocations: 200.7 kB / 0.8412 GB, free: 264 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1754, allocations: 16.81 kB / 0.8412 GB, free: 248 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1755, allocations: 36.28 kB / 0.8413 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006409/0.1761, allocations: 420 kB / 0.8417 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1761, allocations: 0 / 0.8417 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.1762, allocations: 15.94 kB / 0.8417 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.1763, allocations: 32.41 kB / 0.8417 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.1768, allocations: 305.5 kB / 0.842 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.1784, allocations: 1.085 MB / 0.8431 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.1788, allocations: 218.3 kB / 0.8433 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.179, allocations: 104.8 kB / 0.8434 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-05/0.1791, allocations: 15.98 kB / 0.8434 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1791, allocations: 34.56 kB / 0.8434 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.1791, allocations: 0 / 0.8434 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001259/0.1804, allocations: 0.7139 MB / 0.8441 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1804, allocations: 59.36 kB / 0.8442 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1806, allocations: 191.8 kB / 0.8444 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.1807, allocations: 29.7 kB / 0.8444 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1808, allocations: 164.2 kB / 0.8445 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.1808, allocations: 67.39 kB / 0.8446 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.1809, allocations: 61.69 kB / 0.8447 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1811, allocations: 330.8 kB / 0.845 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.1813, allocations: 111.9 kB / 0.8451 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.1815, allocations: 182.9 kB / 0.8453 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.1819, allocations: 293.8 kB / 0.8455 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1819, allocations: 0 / 0.8455 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007906/0.1827, allocations: 425 kB / 0.8459 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1827, allocations: 4 kB / 0.8459 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1827, allocations: 4 kB / 0.846 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004219/0.1831, allocations: 96.95 kB / 0.846 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.1834, allocations: 55.89 kB / 0.8461 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.1856, allocations: 1.768 MB / 0.8478 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.1858, allocations: 19.97 kB / 0.8478 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.1858, allocations: 8 kB / 0.8479 GB, free: 9.098 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.0001833/0.186, allocations: 158.4 kB / 0.848 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.1861, allocations: 15.91 kB / 0.848 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.1866, allocations: 297.6 kB / 0.8483 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1866, allocations: 4.062 kB / 0.8483 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.1866, allocations: 7.875 kB / 0.8483 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1866, allocations: 0 / 0.8483 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1876, allocations: 0.6494 MB / 0.8489 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1876, allocations: 0 / 0.8489 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.1879, allocations: 59.89 kB / 0.849 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1879, allocations: 3.938 kB / 0.849 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.1879, allocations: 8 kB / 0.849 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1879, allocations: 0 / 0.849 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1879, allocations: 8.062 kB / 0.849 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.1886, allocations: 0.5087 MB / 0.8495 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.441e-05/0.1887, allocations: 39.86 kB / 0.8496 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.1887, allocations: 7.984 kB / 0.8496 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.1889, allocations: 19.97 kB / 0.8496 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.189, allocations: 15.86 kB / 0.8496 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.189, allocations: 8 kB / 0.8496 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001465/0.1891, allocations: 152 kB / 0.8498 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1891, allocations: 0 / 0.8498 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003701/0.1895, allocations: 71.94 kB / 0.8498 GB, free: 6.988 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.001003/0.1905, allocations: 1.058 MB / 0.8509 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007805/0.1913, allocations: 405.6 kB / 0.8512 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1913, allocations: 0 / 0.8512 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.1914, allocations: 116.2 kB / 0.8514 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1918, allocations: 40.03 kB / 0.8514 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.1959, allocations: 2.899 MB / 0.8542 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.1961, allocations: 165 kB / 0.8544 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000185/0.1962, allocations: 57.89 kB / 0.8544 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.1964, allocations: 71.41 kB / 0.8545 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.1964, allocations: 0 / 0.8545 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.2257, allocations: 5.46 MB / 0.8598 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.18, allocations: 10.16 kB / 0.8598 GB, free: 12.74 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: 16.589875762932934] Failed to read output from testmodel.py, exit status != 0: 12.356470935977995 12.384724019 12.206284568 Calling exit ...