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.001681/0.001681, allocations: 105 kB / 20.48 MB, free: 1.488 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.002389/0.002389, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.518/1.518, allocations: 230.6 MB / 257.6 MB, free: 8.031 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.9821/0.9821, allocations: 150 MB / 464 MB, free: 10.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",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.002067/0.002067, allocations: 61.88 kB / 0.642 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2058, allocations: 89.18 MB / 0.7291 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005313/0.2111, allocations: 3.189 MB / 0.7322 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003233/0.2144, allocations: 1.815 MB / 0.734 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.2145, allocations: 4 kB / 0.734 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.2157, allocations: 350.5 kB / 0.7343 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006671/0.2164, allocations: 211.1 kB / 0.7345 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.2169, allocations: 191.4 kB / 0.7347 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.2174, allocations: 315 kB / 0.735 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.2178, allocations: 184.9 kB / 0.7352 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.2181, allocations: 143.5 kB / 0.7353 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.2184, allocations: 171.4 kB / 0.7355 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.2185, allocations: 20 kB / 0.7355 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.219, allocations: 247.5 kB / 0.7358 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2191, allocations: 107.7 kB / 0.7359 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.2192, allocations: 123.4 kB / 0.736 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006261/0.2199, allocations: 426.5 kB / 0.7364 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2199, allocations: 0 / 0.7364 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2199, allocations: 0 / 0.7364 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.2199, allocations: 0 / 0.7364 GB, free: 9.863 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.001073/0.221, allocations: 493.2 kB / 0.7369 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.221, allocations: 12.03 kB / 0.7369 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.491e-05/0.221, allocations: 8.625 kB / 0.7369 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.096e-05/0.2211, allocations: 62.72 kB / 0.7369 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007888/0.2219, allocations: 92.69 kB / 0.737 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.2223, allocations: 196.2 kB / 0.7372 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.2223, allocations: 20.8 kB / 0.7372 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.2224, allocations: 28.27 kB / 0.7373 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.2231, allocations: 372.5 kB / 0.7376 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.2231, allocations: 4 kB / 0.7376 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.2232, allocations: 8 kB / 0.7376 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.2233, allocations: 28.41 kB / 0.7376 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.2238, allocations: 309.5 kB / 0.7379 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.2258, allocations: 1.483 MB / 0.7394 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.2262, allocations: 224.7 kB / 0.7396 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.2264, allocations: 112.7 kB / 0.7397 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.2265, allocations: 11.98 kB / 0.7397 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.2266, allocations: 34.56 kB / 0.7398 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.2266, allocations: 0 / 0.7398 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001398/0.228, allocations: 0.7161 MB / 0.7405 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.2281, allocations: 59.39 kB / 0.7405 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.2283, allocations: 202.6 kB / 0.7407 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.2283, allocations: 29.7 kB / 0.7407 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.2284, allocations: 156.2 kB / 0.7409 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.2285, allocations: 75.41 kB / 0.741 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.2286, allocations: 57.64 kB / 0.741 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2288, allocations: 330.8 kB / 0.7413 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.229, allocations: 119.9 kB / 0.7414 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.2292, allocations: 171 kB / 0.7416 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/0.2296, allocations: 302 kB / 0.7419 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2297, allocations: 0 / 0.7419 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008144/0.2305, allocations: 414.1 kB / 0.7423 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2305, allocations: 10.69 kB / 0.7423 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.2305, allocations: 4 kB / 0.7423 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/0.231, allocations: 92.77 kB / 0.7424 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.2312, allocations: 55.89 kB / 0.7424 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.2334, allocations: 1.772 MB / 0.7442 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.2337, allocations: 20 kB / 0.7442 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.2337, allocations: 12 kB / 0.7442 GB, free: 1.359 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.0002121/0.2339, allocations: 157.8 kB / 0.7444 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.234, allocations: 15.91 kB / 0.7444 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005576/0.2345, allocations: 301.3 kB / 0.7447 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2345, allocations: 0 / 0.7447 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2345, allocations: 7.938 kB / 0.7447 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2345, allocations: 3.938 kB / 0.7447 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.2355, allocations: 0.6708 MB / 0.7453 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2355, allocations: 4.062 kB / 0.7453 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.2358, allocations: 59.89 kB / 0.7454 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.2358, allocations: 3.938 kB / 0.7454 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.2359, allocations: 8 kB / 0.7454 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2359, allocations: 0 / 0.7454 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2359, allocations: 7.938 kB / 0.7454 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006836/0.2366, allocations: 0.5151 MB / 0.7459 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.2367, allocations: 43.77 kB / 0.7459 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.2367, allocations: 7.984 kB / 0.746 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.2369, allocations: 11.98 kB / 0.746 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.2369, allocations: 15.98 kB / 0.746 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2369, allocations: 4 kB / 0.746 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001588/0.2371, allocations: 148 kB / 0.7461 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2371, allocations: 0 / 0.7461 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003969/0.2375, allocations: 64 kB / 0.7462 GB, free: 15.23 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.001066/0.2386, allocations: 1.065 MB / 0.7472 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008274/0.2394, allocations: 406.6 kB / 0.7476 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.2394, allocations: 0 / 0.7476 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.2396, allocations: 119.8 kB / 0.7477 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.24, allocations: 35.69 kB / 0.7478 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.2441, allocations: 2.889 MB / 0.7506 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.2445, allocations: 0.7755 MB / 0.7513 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.2448, allocations: 61.89 kB / 0.7514 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2449, allocations: 71.41 kB / 0.7515 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/0.2449, allocations: 0 / 0.7515 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.277, allocations: 5.36 MB / 0.7567 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.1, allocations: 7.234 kB / 0.7567 GB, free: 4.434 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.43601983197732] Failed to read output from testmodel.py, exit status != 0: 12.28222045401344 12.583439337 12.360765466 Calling exit ...