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.001306/0.001306, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001489/0.001489, allocations: 209 kB / 22.99 MB, free: 4.977 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.503/1.503, 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.9958/0.9958, allocations: 149.9 MB / 463.1 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.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.002565/0.002565, allocations: 61.47 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1806, allocations: 89.17 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005633/0.1863, allocations: 3.218 MB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003739/0.19, allocations: 1.979 MB / 0.7332 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.1902, allocations: 7.938 kB / 0.7332 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.1912, allocations: 301.6 kB / 0.7335 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006297/0.1919, allocations: 234.9 kB / 0.7338 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.1926, allocations: 294.1 kB / 0.734 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005122/0.1931, allocations: 410.7 kB / 0.7344 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.1935, allocations: 164.5 kB / 0.7346 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.1937, allocations: 179.3 kB / 0.7348 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.1941, allocations: 199.2 kB / 0.7349 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.1942, allocations: 24 kB / 0.735 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.1946, allocations: 247.5 kB / 0.7352 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1948, allocations: 123.7 kB / 0.7353 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.195, allocations: 123.4 kB / 0.7354 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007034/0.1957, allocations: 494.2 kB / 0.7359 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.1957, allocations: 7.938 kB / 0.7359 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1957, allocations: 0 / 0.7359 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.1957, allocations: 0 / 0.7359 GB, free: 9.055 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.001231/0.1969, allocations: 0.5284 MB / 0.7364 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.197, allocations: 8.031 kB / 0.7364 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.976e-05/0.1971, allocations: 62.72 kB / 0.7365 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.1981, allocations: 116.6 kB / 0.7366 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.1986, allocations: 226.7 kB / 0.7368 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.1986, allocations: 16.88 kB / 0.7368 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.1987, allocations: 44.41 kB / 0.7369 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008949/0.1996, allocations: 0.5181 MB / 0.7374 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1996, allocations: 4 kB / 0.7374 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.1997, allocations: 15.98 kB / 0.7374 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.1998, allocations: 40.47 kB / 0.7374 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/0.2005, allocations: 365.6 kB / 0.7378 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/0.2032, allocations: 1.644 MB / 0.7394 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.2037, allocations: 244.4 kB / 0.7396 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.2039, allocations: 149.5 kB / 0.7398 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.2039, allocations: 4 kB / 0.7398 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.204, allocations: 34.56 kB / 0.7398 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.204, allocations: 0 / 0.7398 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.001906/0.2059, allocations: 0.9135 MB / 0.7407 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.2059, allocations: 55.41 kB / 0.7408 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.2063, allocations: 256.8 kB / 0.741 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.2063, allocations: 33.7 kB / 0.741 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2065, allocations: 192.4 kB / 0.7412 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/0.2065, allocations: 91.22 kB / 0.7413 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.2067, allocations: 81.62 kB / 0.7414 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2068, allocations: 330.8 kB / 0.7417 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.2072, allocations: 163.8 kB / 0.7419 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.2076, allocations: 241.6 kB / 0.7421 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006706/0.2082, allocations: 406.8 kB / 0.7425 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2083, allocations: 7.875 kB / 0.7425 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001316/0.2096, allocations: 0.5934 MB / 0.7431 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2096, allocations: 4 kB / 0.7431 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2096, allocations: 4 kB / 0.7431 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007196/0.2103, allocations: 192.9 kB / 0.7433 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.2107, allocations: 67.89 kB / 0.7433 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/0.2141, allocations: 2.375 MB / 0.7456 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.2146, allocations: 19.98 kB / 0.7457 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.2146, allocations: 15.98 kB / 0.7457 GB, free: 14.57 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.0002358/0.2148, allocations: 161.7 kB / 0.7458 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-05/0.2149, allocations: 31.8 kB / 0.7459 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000658/0.2156, allocations: 354.6 kB / 0.7462 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2156, allocations: 4 kB / 0.7462 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2156, allocations: 4.062 kB / 0.7462 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2156, allocations: 0 / 0.7462 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.2168, allocations: 0.7575 MB / 0.7469 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2169, allocations: 0 / 0.7469 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.2173, allocations: 75.88 kB / 0.747 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2173, allocations: 0 / 0.747 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.2173, allocations: 12 kB / 0.747 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2173, allocations: 0 / 0.747 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2173, allocations: 0 / 0.747 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/0.2182, allocations: 0.6144 MB / 0.7476 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.2184, allocations: 63.86 kB / 0.7477 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.2184, allocations: 8 kB / 0.7477 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.2187, allocations: 11.98 kB / 0.7477 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.2187, allocations: 19.91 kB / 0.7477 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.2187, allocations: 4 kB / 0.7477 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002677/0.219, allocations: 188.5 kB / 0.7479 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.219, allocations: 3.938 kB / 0.7479 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004525/0.2194, allocations: 92 kB / 0.748 GB, free: 12.11 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.00131/0.2207, allocations: 1.154 MB / 0.7491 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.2219, allocations: 0.5104 MB / 0.7496 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2219, allocations: 4.125 kB / 0.7496 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.2221, allocations: 139.9 kB / 0.7498 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.2226, allocations: 55 kB / 0.7498 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/0.2286, allocations: 3.704 MB / 0.7534 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.2289, allocations: 186.1 kB / 0.7536 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002722/0.2291, allocations: 70.92 kB / 0.7537 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.2293, allocations: 87.41 kB / 0.7538 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/0.2293, allocations: 0 / 0.7538 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4003/0.6296, allocations: 7.645 MB / 0.7612 GB, free: 34.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.48, allocations: 14.14 kB / 0.7612 GB, free: 34.98 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.20778616378084] Failed to read output from testmodel.py, exit status != 0: 12.594340279698372 12.609062968 12.409501142 Calling exit ...