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.001347/0.001347, allocations: 119 kB / 19.69 MB, free: 2.199 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.001537/0.001537, allocations: 222.7 kB / 23.01 MB, free: 5.047 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8 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.9648/0.9648, allocations: 150 MB / 463.2 MB, free: 10.46 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.002014/0.002014, allocations: 68.81 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1842, allocations: 89.17 MB / 0.7283 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005122/0.1893, allocations: 3.203 MB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002967/0.1923, allocations: 1.808 MB / 0.7332 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1924, allocations: 8 kB / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.1935, allocations: 354.6 kB / 0.7336 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.194, allocations: 215.1 kB / 0.7338 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.1944, allocations: 179.5 kB / 0.734 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.1948, allocations: 323 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003385/0.1952, allocations: 176.9 kB / 0.7344 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.1954, allocations: 143.5 kB / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.1958, allocations: 167.5 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.1958, allocations: 27.94 kB / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004274/0.1962, allocations: 243.5 kB / 0.735 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1964, allocations: 99.77 kB / 0.7351 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1965, allocations: 127.3 kB / 0.7352 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.197, allocations: 430.5 kB / 0.7356 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.197, allocations: 0 / 0.7356 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.197, allocations: 0 / 0.7356 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.1971, allocations: 0 / 0.7356 GB, free: 9.77 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.001021/0.1981, allocations: 489.3 kB / 0.7361 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1981, allocations: 12.03 kB / 0.7361 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.472e-05/0.1982, allocations: 66.64 kB / 0.7362 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007873/0.199, allocations: 96.69 kB / 0.7363 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/0.1994, allocations: 200.4 kB / 0.7364 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1994, allocations: 12.81 kB / 0.7365 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.1995, allocations: 32.5 kB / 0.7365 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.2001, allocations: 376.4 kB / 0.7368 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.2001, allocations: 0 / 0.7368 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.2002, allocations: 15.98 kB / 0.7369 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.844e-05/0.2003, allocations: 24.42 kB / 0.7369 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.2008, allocations: 309.5 kB / 0.7372 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.2027, allocations: 1.487 MB / 0.7386 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.2032, allocations: 214.3 kB / 0.7388 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2033, allocations: 104.8 kB / 0.7389 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.2034, allocations: 19.97 kB / 0.739 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.2035, allocations: 38.5 kB / 0.739 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.784e-06/0.2035, allocations: 0 / 0.739 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001363/0.2048, allocations: 0.7187 MB / 0.7397 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.2049, allocations: 55.41 kB / 0.7397 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.2051, allocations: 198.6 kB / 0.7399 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.2052, allocations: 37.7 kB / 0.74 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.2053, allocations: 164.2 kB / 0.7401 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.2053, allocations: 63.44 kB / 0.7402 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.731e-05/0.2054, allocations: 57.64 kB / 0.7402 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2056, allocations: 330.8 kB / 0.7406 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.2057, allocations: 111.9 kB / 0.7407 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.206, allocations: 171 kB / 0.7408 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.2064, allocations: 301.8 kB / 0.7411 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2064, allocations: 0 / 0.7411 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008028/0.2073, allocations: 415.2 kB / 0.7415 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2073, allocations: 4 kB / 0.7415 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2073, allocations: 3.984 kB / 0.7415 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/0.2077, allocations: 101 kB / 0.7416 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.208, allocations: 51.89 kB / 0.7417 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.2102, allocations: 1.768 MB / 0.7434 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.2105, allocations: 27.97 kB / 0.7434 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.2105, allocations: 12 kB / 0.7434 GB, free: 1.27 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.0002812/0.2108, allocations: 157.8 kB / 0.7436 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.2109, allocations: 15.91 kB / 0.7436 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/0.2114, allocations: 297.2 kB / 0.7439 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2114, allocations: 4 kB / 0.7439 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2114, allocations: 0 / 0.7439 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.2114, allocations: 3.938 kB / 0.7439 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.2125, allocations: 0.6824 MB / 0.7446 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2125, allocations: 0 / 0.7446 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.2129, allocations: 56 kB / 0.7446 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.2129, allocations: 3.938 kB / 0.7446 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.2129, allocations: 12.06 kB / 0.7446 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2129, allocations: 3.938 kB / 0.7446 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2129, allocations: 0 / 0.7446 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.2136, allocations: 0.5125 MB / 0.7451 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2138, allocations: 43.81 kB / 0.7452 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.2138, allocations: 11.98 kB / 0.7452 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.214, allocations: 12.05 kB / 0.7452 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.214, allocations: 15.98 kB / 0.7452 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.214, allocations: 4 kB / 0.7452 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001552/0.2142, allocations: 144 kB / 0.7454 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2142, allocations: 4 kB / 0.7454 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004052/0.2146, allocations: 64 kB / 0.7454 GB, free: 15.14 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.001056/0.2157, allocations: 1.066 MB / 0.7465 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007973/0.2165, allocations: 416.3 kB / 0.7469 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2165, allocations: 0 / 0.7469 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.2166, allocations: 113.5 kB / 0.747 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.2171, allocations: 35 kB / 0.747 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/0.2216, allocations: 2.893 MB / 0.7498 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.222, allocations: 0.7677 MB / 0.7506 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001877/0.2222, allocations: 65.89 kB / 0.7506 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.2223, allocations: 67.41 kB / 0.7507 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.2223, allocations: 0 / 0.7507 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.039/0.2613, allocations: 5.332 MB / 0.7559 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.77, allocations: 4.891 kB / 0.7559 GB, free: 4.371 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.056433411999024] Failed to read output from testmodel.py, exit status != 0: 11.883243940999819 12.256742843 12.055458538 Calling exit ...