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.001723/0.001723, allocations: 117.8 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.002367/0.002367, allocations: 220.5 kB / 23.01 MB, free: 5.043 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.9823/0.9823, 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.002353/0.002353, allocations: 66.83 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.196, allocations: 89.18 MB / 0.7284 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005699/0.2017, allocations: 3.2 MB / 0.7315 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00356/0.2053, allocations: 1.808 MB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.2055, allocations: 4 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.2067, allocations: 354.6 kB / 0.7336 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006934/0.2074, allocations: 211.1 kB / 0.7338 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006498/0.2081, allocations: 179.5 kB / 0.734 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005855/0.2087, allocations: 323 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003797/0.2091, allocations: 180.9 kB / 0.7344 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.2094, allocations: 143.6 kB / 0.7346 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003938/0.2098, allocations: 171.4 kB / 0.7347 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.2098, allocations: 24 kB / 0.7348 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.2103, allocations: 243.5 kB / 0.735 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.2104, allocations: 103.7 kB / 0.7351 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.2106, allocations: 127.3 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007503/0.2113, allocations: 426.5 kB / 0.7356 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2113, allocations: 0 / 0.7356 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2113, allocations: 0 / 0.7356 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.2114, allocations: 0 / 0.7356 GB, free: 9.758 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.001207/0.2126, allocations: 493.3 kB / 0.7361 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2126, allocations: 16.02 kB / 0.7361 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.61e-05/0.2127, allocations: 58.67 kB / 0.7362 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007871/0.2135, allocations: 96.67 kB / 0.7363 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.2139, allocations: 198.1 kB / 0.7364 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.2139, allocations: 16.81 kB / 0.7365 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.214, allocations: 32.5 kB / 0.7365 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.2146, allocations: 372.5 kB / 0.7368 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.2146, allocations: 0 / 0.7368 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.2146, allocations: 15.94 kB / 0.7369 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.2148, allocations: 28.42 kB / 0.7369 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.2153, allocations: 309.5 kB / 0.7372 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.2172, allocations: 1.487 MB / 0.7386 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.2177, allocations: 218.3 kB / 0.7388 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.2178, allocations: 104.8 kB / 0.7389 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.218, allocations: 11.98 kB / 0.739 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.218, allocations: 38.5 kB / 0.739 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.218, allocations: 4 kB / 0.739 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001343/0.2193, allocations: 0.7194 MB / 0.7397 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.2194, allocations: 55.41 kB / 0.7398 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.2196, allocations: 198.6 kB / 0.7399 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.2196, allocations: 33.7 kB / 0.74 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.2198, allocations: 164.2 kB / 0.7401 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.2198, allocations: 63.44 kB / 0.7402 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.2199, allocations: 61.64 kB / 0.7402 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2201, allocations: 330.8 kB / 0.7406 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.2203, allocations: 119.9 kB / 0.7407 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.2205, allocations: 159 kB / 0.7408 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.221, allocations: 303 kB / 0.7411 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.221, allocations: 0 / 0.7411 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008245/0.2218, allocations: 418 kB / 0.7415 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2218, allocations: 4 kB / 0.7415 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2218, allocations: 0 / 0.7415 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000459/0.2223, allocations: 100.9 kB / 0.7416 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.2225, allocations: 51.89 kB / 0.7417 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.2247, allocations: 1.78 MB / 0.7434 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.2249, allocations: 19.92 kB / 0.7434 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.2249, allocations: 8 kB / 0.7434 GB, free: 1.258 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.0001818/0.2251, allocations: 161.8 kB / 0.7436 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.2252, allocations: 15.91 kB / 0.7436 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/0.2257, allocations: 293.4 kB / 0.7439 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2257, allocations: 0 / 0.7439 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2257, allocations: 0 / 0.7439 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.2257, allocations: 3.938 kB / 0.7439 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009882/0.2267, allocations: 0.6883 MB / 0.7446 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2267, allocations: 0 / 0.7446 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.227, allocations: 59.95 kB / 0.7446 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.227, allocations: 3.938 kB / 0.7446 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.227, allocations: 4 kB / 0.7446 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.227, allocations: 3.984 kB / 0.7446 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.227, allocations: 3.984 kB / 0.7446 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/0.2277, allocations: 0.517 MB / 0.7451 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.2278, allocations: 47.8 kB / 0.7452 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.2279, allocations: 8 kB / 0.7452 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.228, allocations: 7.984 kB / 0.7452 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.2281, allocations: 15.98 kB / 0.7452 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.2281, allocations: 7.984 kB / 0.7452 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001494/0.2282, allocations: 148.1 kB / 0.7454 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2282, allocations: 4 kB / 0.7454 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003715/0.2286, allocations: 64 kB / 0.7454 GB, free: 15.12 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.001005/0.2296, allocations: 1.061 MB / 0.7465 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007653/0.2304, allocations: 410.2 kB / 0.7469 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2304, allocations: 0 / 0.7469 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.2306, allocations: 113.7 kB / 0.747 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.231, allocations: 42.72 kB / 0.747 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.2352, allocations: 2.889 MB / 0.7498 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.2356, allocations: 0.7716 MB / 0.7506 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001794/0.2358, allocations: 61.89 kB / 0.7506 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.236, allocations: 71.34 kB / 0.7507 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.236, allocations: 0 / 0.7507 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.2767, allocations: 5.33 MB / 0.7559 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.84, allocations: 15.97 kB / 0.7559 GB, free: 4.348 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.240301137091592] Failed to read output from testmodel.py, exit status != 0: 11.95840897411108 12.368496593 12.154114829 Calling exit ...