Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001275/0.001275, allocations: 109 kB / 20.48 MB, free: 1.473 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.001423/0.001423, allocations: 209.8 kB / 23.79 MB, free: 4.684 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.48/1.48, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.9629/0.9629, allocations: 150 MB / 463.9 MB, free: 10.48 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.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.002027/0.002027, allocations: 66.19 kB / 0.642 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1875, allocations: 89.18 MB / 0.7291 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005898/0.1934, allocations: 3.38 MB / 0.7324 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.197, allocations: 2.107 MB / 0.7345 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.1972, allocations: 7.938 kB / 0.7345 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1982, allocations: 314.8 kB / 0.7348 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.1988, allocations: 230.9 kB / 0.735 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.1995, allocations: 295.2 kB / 0.7353 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005217/0.2001, allocations: 406.8 kB / 0.7357 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.2004, allocations: 172.2 kB / 0.7358 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.2007, allocations: 163.5 kB / 0.736 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.2011, allocations: 215.2 kB / 0.7362 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.2011, allocations: 28 kB / 0.7362 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.2017, allocations: 279.5 kB / 0.7365 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.2018, allocations: 115.7 kB / 0.7366 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.202, allocations: 147.2 kB / 0.7367 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.2027, allocations: 494.2 kB / 0.7372 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2027, allocations: 0 / 0.7372 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2027, allocations: 3.938 kB / 0.7372 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.2027, allocations: 0 / 0.7372 GB, free: 8.91 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001241/0.2039, allocations: 0.5323 MB / 0.7377 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.204, allocations: 12.03 kB / 0.7378 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.926e-05/0.204, allocations: 8.625 kB / 0.7378 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.658e-05/0.2041, allocations: 62.72 kB / 0.7378 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009952/0.2051, allocations: 116.6 kB / 0.7379 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.2055, allocations: 222.8 kB / 0.7381 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2055, allocations: 20.88 kB / 0.7382 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.2056, allocations: 40.23 kB / 0.7382 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007594/0.2064, allocations: 453.4 kB / 0.7386 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.2064, allocations: 0 / 0.7386 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.2065, allocations: 15.98 kB / 0.7386 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.2066, allocations: 40.47 kB / 0.7387 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.2073, allocations: 365.6 kB / 0.739 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.2102, allocations: 2.162 MB / 0.7411 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.2106, allocations: 242.4 kB / 0.7414 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.2109, allocations: 157.4 kB / 0.7415 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.2109, allocations: 4 kB / 0.7415 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.2109, allocations: 34.94 kB / 0.7416 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.2109, allocations: 0 / 0.7416 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.001874/0.2128, allocations: 0.9128 MB / 0.7425 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.2128, allocations: 55.41 kB / 0.7425 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.2132, allocations: 256.9 kB / 0.7428 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.2133, allocations: 33.64 kB / 0.7428 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.2134, allocations: 192.4 kB / 0.743 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.849e-05/0.2135, allocations: 91.28 kB / 0.7431 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.2136, allocations: 73.64 kB / 0.7431 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2138, allocations: 334.8 kB / 0.7434 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.2141, allocations: 155.9 kB / 0.7436 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.2145, allocations: 241.6 kB / 0.7438 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/0.2151, allocations: 422.7 kB / 0.7442 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2151, allocations: 0 / 0.7442 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001317/0.2164, allocations: 0.5934 MB / 0.7448 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2165, allocations: 4 kB / 0.7448 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2165, allocations: 4.312 kB / 0.7448 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007735/0.2172, allocations: 194.3 kB / 0.745 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.2176, allocations: 59.89 kB / 0.7451 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/0.2209, allocations: 2.396 MB / 0.7474 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.2213, allocations: 32.14 kB / 0.7474 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.2214, allocations: 19.92 kB / 0.7474 GB, free: 13.86 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.2216, allocations: 165.6 kB / 0.7476 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.2217, allocations: 23.86 kB / 0.7476 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006285/0.2223, allocations: 355.6 kB / 0.748 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2223, allocations: 0 / 0.748 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2223, allocations: 4 kB / 0.748 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2223, allocations: 4 kB / 0.748 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.2235, allocations: 0.7857 MB / 0.7487 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2235, allocations: 0 / 0.7487 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.224, allocations: 71.94 kB / 0.7488 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.224, allocations: 0 / 0.7488 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.224, allocations: 11.98 kB / 0.7488 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.224, allocations: 4 kB / 0.7488 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.224, allocations: 8 kB / 0.7488 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009432/0.225, allocations: 0.6066 MB / 0.7494 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.2251, allocations: 51.88 kB / 0.7495 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.2252, allocations: 11.98 kB / 0.7495 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.2254, allocations: 7.984 kB / 0.7495 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.2255, allocations: 27.91 kB / 0.7495 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.2255, allocations: 11.94 kB / 0.7495 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002696/0.2258, allocations: 188.5 kB / 0.7497 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2258, allocations: 0 / 0.7497 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004576/0.2262, allocations: 95.94 kB / 0.7498 GB, free: 11.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.001357/0.2276, allocations: 1.162 MB / 0.7509 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.2287, allocations: 0.5026 MB / 0.7514 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2287, allocations: 0 / 0.7514 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.229, allocations: 141.1 kB / 0.7516 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.2295, allocations: 58.36 kB / 0.7516 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00618/0.2357, allocations: 3.702 MB / 0.7552 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.2363, allocations: 0.7912 MB / 0.756 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002917/0.2366, allocations: 78.91 kB / 0.7561 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.2368, allocations: 91.39 kB / 0.7562 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/0.2368, allocations: 0 / 0.7562 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4454/0.6822, allocations: 7.267 MB / 0.7633 GB, free: 34.88 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.54, allocations: 8.828 kB / 0.7633 GB, free: 34.88 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.483477887988556] Failed to read output from testmodel.py, exit status != 0: 12.707547403988428 12.728305957 12.521544983 Calling exit ...