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.001301/0.001301, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001434/0.001434, allocations: 213.2 kB / 22.99 MB, free: 4.605 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9836/0.9836, allocations: 149.9 MB / 463 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.002769/0.002769, allocations: 69.02 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2244, allocations: 89.16 MB / 0.7281 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005/0.2294, allocations: 3.092 MB / 0.7312 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003002/0.2324, allocations: 1.683 MB / 0.7328 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.2325, allocations: 4 kB / 0.7328 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.2337, allocations: 330.8 kB / 0.7331 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.2342, allocations: 211.1 kB / 0.7333 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.2348, allocations: 183.5 kB / 0.7335 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.2352, allocations: 327 kB / 0.7338 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.2356, allocations: 169 kB / 0.734 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.2359, allocations: 143.5 kB / 0.7341 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.2362, allocations: 171.4 kB / 0.7343 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.2363, allocations: 23.98 kB / 0.7343 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004137/0.2367, allocations: 215.5 kB / 0.7345 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.2368, allocations: 103.7 kB / 0.7346 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.237, allocations: 103.5 kB / 0.7347 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.2376, allocations: 426.5 kB / 0.7351 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2376, allocations: 0 / 0.7351 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.906e-06/0.2376, allocations: 0 / 0.7351 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.2376, allocations: 0 / 0.7351 GB, free: 9.879 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.0009732/0.2386, allocations: 497.3 kB / 0.7356 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2386, allocations: 15.97 kB / 0.7356 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.239e-05/0.2387, allocations: 54.73 kB / 0.7357 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007086/0.2394, allocations: 96.67 kB / 0.7357 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.2398, allocations: 199.9 kB / 0.7359 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.2398, allocations: 12.81 kB / 0.7359 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.2399, allocations: 32.5 kB / 0.736 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.2405, allocations: 439.8 kB / 0.7364 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.2406, allocations: 0 / 0.7364 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.2406, allocations: 4 kB / 0.7364 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.964e-05/0.2407, allocations: 28.42 kB / 0.7364 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005191/0.2412, allocations: 305.5 kB / 0.7367 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.243, allocations: 1.081 MB / 0.7378 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.2435, allocations: 218.3 kB / 0.738 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2436, allocations: 104.8 kB / 0.7381 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.2437, allocations: 8 kB / 0.7381 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.2438, allocations: 42.48 kB / 0.7381 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.2438, allocations: 0 / 0.7381 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.00133/0.2451, allocations: 0.7136 MB / 0.7388 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.2452, allocations: 55.41 kB / 0.7389 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.2454, allocations: 206.6 kB / 0.7391 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.2454, allocations: 29.7 kB / 0.7391 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.2455, allocations: 164.2 kB / 0.7393 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.2456, allocations: 71.38 kB / 0.7393 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.2457, allocations: 53.7 kB / 0.7394 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2459, allocations: 334.8 kB / 0.7397 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.2461, allocations: 111.9 kB / 0.7398 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.2463, allocations: 165.9 kB / 0.74 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.2468, allocations: 305.1 kB / 0.7403 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2468, allocations: 0 / 0.7403 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007894/0.2475, allocations: 413.9 kB / 0.7407 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2476, allocations: 6.031 kB / 0.7407 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2476, allocations: 7.984 kB / 0.7407 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/0.248, allocations: 100.9 kB / 0.7408 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.2483, allocations: 51.91 kB / 0.7408 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.2505, allocations: 1.764 MB / 0.7425 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.2507, allocations: 19.92 kB / 0.7426 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.2507, allocations: 8 kB / 0.7426 GB, free: 1.824 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.000206/0.2509, allocations: 157.8 kB / 0.7427 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.251, allocations: 16.09 kB / 0.7427 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.2515, allocations: 306 kB / 0.743 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2515, allocations: 0 / 0.743 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2515, allocations: 4 kB / 0.743 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.2515, allocations: 11.86 kB / 0.743 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.2526, allocations: 0.6474 MB / 0.7437 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2526, allocations: 0 / 0.7437 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.2529, allocations: 55.95 kB / 0.7437 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.2529, allocations: 3.938 kB / 0.7437 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.2529, allocations: 12.06 kB / 0.7437 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2529, allocations: 3.938 kB / 0.7437 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2529, allocations: 7.984 kB / 0.7437 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.2536, allocations: 0.5086 MB / 0.7442 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.2538, allocations: 43.84 kB / 0.7443 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.2538, allocations: 4 kB / 0.7443 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.254, allocations: 15.98 kB / 0.7443 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.254, allocations: 11.97 kB / 0.7443 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.254, allocations: 12 kB / 0.7443 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001459/0.2542, allocations: 144 kB / 0.7445 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2542, allocations: 64 / 0.7445 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00038/0.2546, allocations: 72 kB / 0.7445 GB, free: 15.71 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.001057/0.2556, allocations: 1.058 MB / 0.7456 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008292/0.2564, allocations: 406.7 kB / 0.746 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2564, allocations: 4.062 kB / 0.746 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.2566, allocations: 117.7 kB / 0.7461 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.257, allocations: 35.09 kB / 0.7461 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.2612, allocations: 2.895 MB / 0.7489 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.2614, allocations: 165.4 kB / 0.7491 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.2616, allocations: 61.91 kB / 0.7491 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.2617, allocations: 63.42 kB / 0.7492 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.2617, allocations: 0 / 0.7492 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/0.3012, allocations: 5.701 MB / 0.7548 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.94, allocations: 6.344 kB / 0.7548 GB, free: 5.203 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.260848676785827] Failed to read output from testmodel.py, exit status != 0: 12.055206013843417 12.357315993 12.1171431 Calling exit ...