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.001327/0.001327, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001571/0.001571, allocations: 216.6 kB / 22.99 MB, free: 4.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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 0.9765/0.9765, allocations: 149.9 MB / 463.1 MB, free: 10.34 MB / 366.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.0021/0.0021, allocations: 67.02 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1833, allocations: 89.17 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005594/0.1889, allocations: 3.081 MB / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.1919, allocations: 1.683 MB / 0.7328 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.192, allocations: 4 kB / 0.7328 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.1931, allocations: 330.7 kB / 0.7331 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000495/0.1936, allocations: 219.1 kB / 0.7333 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.1941, allocations: 183.5 kB / 0.7335 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.1944, allocations: 319 kB / 0.7338 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.1948, allocations: 169 kB / 0.734 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.195, allocations: 159.5 kB / 0.7341 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.1953, allocations: 155.4 kB / 0.7343 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.1954, allocations: 20 kB / 0.7343 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.1958, allocations: 223.5 kB / 0.7345 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1959, allocations: 103.7 kB / 0.7346 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.196, allocations: 95.59 kB / 0.7347 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005456/0.1966, allocations: 438.5 kB / 0.7351 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1966, allocations: 0 / 0.7351 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1966, allocations: 0 / 0.7351 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.1966, allocations: 0 / 0.7351 GB, free: 9.832 MB / 0.5606 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.001012/0.1976, allocations: 489.3 kB / 0.7356 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1976, allocations: 8.031 kB / 0.7356 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.462e-05/0.1977, allocations: 66.66 kB / 0.7357 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007148/0.1984, allocations: 88.69 kB / 0.7357 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.1988, allocations: 204.4 kB / 0.7359 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1988, allocations: 16.8 kB / 0.736 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.1989, allocations: 36.52 kB / 0.736 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.1995, allocations: 427.9 kB / 0.7364 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1995, allocations: 0 / 0.7364 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.1996, allocations: 11.98 kB / 0.7364 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.629e-05/0.1997, allocations: 28.42 kB / 0.7364 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.2002, allocations: 305.5 kB / 0.7367 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.2019, allocations: 1.077 MB / 0.7378 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.2023, allocations: 222.3 kB / 0.738 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.2025, allocations: 96.81 kB / 0.7381 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.2027, allocations: 15.92 kB / 0.7381 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.2027, allocations: 42.5 kB / 0.7381 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.2027, allocations: 4 kB / 0.7381 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.00131/0.204, allocations: 0.7137 MB / 0.7388 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.204, allocations: 55.41 kB / 0.7389 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.2043, allocations: 202.6 kB / 0.7391 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.2043, allocations: 33.7 kB / 0.7391 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.2044, allocations: 164.2 kB / 0.7393 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.2045, allocations: 71.38 kB / 0.7393 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2046, allocations: 61.69 kB / 0.7394 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2048, allocations: 326.8 kB / 0.7397 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.205, allocations: 115.9 kB / 0.7398 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.2052, allocations: 165.9 kB / 0.74 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.2056, allocations: 297.1 kB / 0.7403 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2056, allocations: 0 / 0.7403 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007806/0.2064, allocations: 417.9 kB / 0.7407 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2064, allocations: 4 kB / 0.7407 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2064, allocations: 4 kB / 0.7407 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004234/0.2068, allocations: 100.9 kB / 0.7408 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.2071, allocations: 51.91 kB / 0.7408 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.2092, allocations: 1.764 MB / 0.7425 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.2094, allocations: 20.11 kB / 0.7426 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2095, allocations: 8 kB / 0.7426 GB, free: 1.781 MB / 0.5606 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.0001819/0.2096, allocations: 158.9 kB / 0.7427 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.2097, allocations: 19.91 kB / 0.7427 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.2102, allocations: 304.7 kB / 0.743 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2102, allocations: 0 / 0.743 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.2102, allocations: 0 / 0.743 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.077e-05/0.2103, allocations: 3.938 kB / 0.743 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.2113, allocations: 0.6512 MB / 0.7437 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2113, allocations: 0 / 0.7437 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.2116, allocations: 55.95 kB / 0.7437 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.2116, allocations: 3.938 kB / 0.7437 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.2116, allocations: 16.05 kB / 0.7437 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.2116, allocations: 0 / 0.7437 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2116, allocations: 0 / 0.7437 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/0.2123, allocations: 0.5212 MB / 0.7442 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2124, allocations: 43.84 kB / 0.7443 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.2125, allocations: 0 / 0.7443 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.2126, allocations: 15.98 kB / 0.7443 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.2127, allocations: 11.97 kB / 0.7443 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.2127, allocations: 8 kB / 0.7443 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001449/0.2128, allocations: 152 kB / 0.7445 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2128, allocations: 64 / 0.7445 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003623/0.2132, allocations: 72 kB / 0.7445 GB, free: 15.67 MB / 0.5762 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.001083/0.2143, allocations: 1.055 MB / 0.7456 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008233/0.2151, allocations: 406.7 kB / 0.746 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2151, allocations: 4.062 kB / 0.746 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.2153, allocations: 119.8 kB / 0.7461 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.2157, allocations: 33.52 kB / 0.7461 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.2199, allocations: 2.895 MB / 0.7489 GB, free: 11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.2201, allocations: 161.4 kB / 0.7491 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001998/0.2203, allocations: 61.84 kB / 0.7491 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.2204, allocations: 63.41 kB / 0.7492 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/0.2204, allocations: 0 / 0.7492 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05002/0.2705, allocations: 5.703 MB / 0.7548 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.98, allocations: 10.34 kB / 0.7548 GB, free: 5.16 MB / 0.5762 GB " [Timeout remaining time 648] (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: 16.217984339222312] Failed to read output from testmodel.py, exit status != 0: 12.087106635794044 12.395041437 12.195736512 Calling exit ...