Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001325/0.001325, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001397/0.001397, allocations: 204 kB / 20.09 MB, free: 2.977 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.595/1.595, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.019/1.019, allocations: 150 MB / 459.5 MB, free: 5.32 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00203/0.00203, allocations: 68.64 kB / 0.6361 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1739, allocations: 89.14 MB / 0.7232 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005517/0.1795, allocations: 3.124 MB / 0.7262 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003041/0.1825, allocations: 1.769 MB / 0.7279 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1826, allocations: 7.938 kB / 0.7279 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.1837, allocations: 343.3 kB / 0.7283 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.1842, allocations: 219.1 kB / 0.7285 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.1847, allocations: 174.6 kB / 0.7286 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.1851, allocations: 323 kB / 0.729 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/0.1855, allocations: 180.8 kB / 0.7291 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.1857, allocations: 147.5 kB / 0.7293 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.186, allocations: 179.4 kB / 0.7294 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.1861, allocations: 20 kB / 0.7295 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.1865, allocations: 247.5 kB / 0.7297 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.1866, allocations: 103.7 kB / 0.7298 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.1868, allocations: 123.4 kB / 0.7299 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.1874, allocations: 430.5 kB / 0.7303 GB, free: 12.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1874, allocations: 0 / 0.7303 GB, free: 12.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1874, allocations: 0 / 0.7303 GB, free: 12.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.1874, allocations: 0 / 0.7303 GB, free: 12.7 MB / 0.545 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.001045/0.1884, allocations: 0.5532 MB / 0.7309 GB, free: 12.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1884, allocations: 8.031 kB / 0.7309 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.721e-05/0.1885, allocations: 62.72 kB / 0.7309 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.1893, allocations: 96.67 kB / 0.731 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1896, allocations: 252 kB / 0.7313 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1896, allocations: 20.73 kB / 0.7313 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-05/0.1897, allocations: 32.52 kB / 0.7313 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005887/0.1903, allocations: 377 kB / 0.7317 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1903, allocations: 0 / 0.7317 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.1904, allocations: 8 kB / 0.7317 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.1905, allocations: 32.36 kB / 0.7317 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.191, allocations: 305.5 kB / 0.732 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.1932, allocations: 1.526 MB / 0.7335 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.1936, allocations: 222.4 kB / 0.7337 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.1938, allocations: 100.8 kB / 0.7338 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.194, allocations: 89.41 kB / 0.7339 GB, free: 8.742 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.194, allocations: 34.56 kB / 0.7339 GB, free: 8.699 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.944e-06/0.194, allocations: 3.938 kB / 0.7339 GB, free: 8.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001497/0.1955, allocations: 0.7979 MB / 0.7347 GB, free: 7.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.1956, allocations: 51.41 kB / 0.7348 GB, free: 7.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1958, allocations: 194.6 kB / 0.7349 GB, free: 7.586 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.1959, allocations: 29.7 kB / 0.735 GB, free: 7.551 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.196, allocations: 168.1 kB / 0.7351 GB, free: 7.383 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.499e-05/0.1961, allocations: 67.42 kB / 0.7352 GB, free: 7.316 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.1963, allocations: 61.64 kB / 0.7352 GB, free: 7.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.1965, allocations: 330.8 kB / 0.7356 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/0.1968, allocations: 119.9 kB / 0.7357 GB, free: 6.801 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.1972, allocations: 170.9 kB / 0.7358 GB, free: 6.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007015/0.1979, allocations: 302.5 kB / 0.7361 GB, free: 6.297 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1979, allocations: 0 / 0.7361 GB, free: 6.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001248/0.1991, allocations: 422 kB / 0.7365 GB, free: 5.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.1992, allocations: 4 kB / 0.7365 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.1992, allocations: 4 kB / 0.7365 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006778/0.1999, allocations: 96.75 kB / 0.7366 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.2003, allocations: 51.91 kB / 0.7367 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003543/0.2038, allocations: 1.879 MB / 0.7385 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.2042, allocations: 23.95 kB / 0.7385 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.2042, allocations: 8 kB / 0.7385 GB, free: 3.668 MB / 0.545 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.0003015/0.2045, allocations: 157.8 kB / 0.7387 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.787e-05/0.2046, allocations: 19.86 kB / 0.7387 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005676/0.2052, allocations: 301.2 kB / 0.739 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2052, allocations: 0 / 0.739 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.2052, allocations: 4 kB / 0.739 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2052, allocations: 3.938 kB / 0.739 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.2063, allocations: 0.6952 MB / 0.7397 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2063, allocations: 4.062 kB / 0.7397 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.2066, allocations: 63.89 kB / 0.7398 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.2066, allocations: 3.938 kB / 0.7398 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.2066, allocations: 4 kB / 0.7398 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2066, allocations: 0 / 0.7398 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2066, allocations: 0 / 0.7398 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008238/0.2075, allocations: 0.5095 MB / 0.7403 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.2076, allocations: 124.9 kB / 0.7404 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.2077, allocations: 8 kB / 0.7404 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.2079, allocations: 7.984 kB / 0.7404 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.2079, allocations: 23.83 kB / 0.7404 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2079, allocations: 7.984 kB / 0.7404 GB, free: 1.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001631/0.2081, allocations: 144.1 kB / 0.7406 GB, free: 1.488 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2081, allocations: 0 / 0.7406 GB, free: 1.488 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004069/0.2085, allocations: 68 kB / 0.7406 GB, free: 1.422 MB / 0.545 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.00107/0.2095, allocations: 1.059 MB / 0.7417 GB, free: 336 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008058/0.2104, allocations: 414.3 kB / 0.7421 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2104, allocations: 0 / 0.7421 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.2105, allocations: 109.1 kB / 0.7422 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.211, allocations: 38.55 kB / 0.7422 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.2152, allocations: 2.896 MB / 0.745 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.2157, allocations: 0.7716 MB / 0.7458 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.2159, allocations: 57.91 kB / 0.7458 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.216, allocations: 70.8 kB / 0.7459 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.216, allocations: 0 / 0.7459 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03439/0.2504, allocations: 5.122 MB / 0.7509 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.29, allocations: 7.844 kB / 0.7509 GB, free: 6.859 MB / 0.5606 GB " [Timeout remaining time 650] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.515287781134248] Failed to read output from testmodel.py, exit status != 0: 10.390063547994941 10.407004414 10.216463507 Calling exit ...