Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001894/0.001894, allocations: 122.8 kB / 17.84 MB, free: 5.254 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.002117/0.002117, allocations: 198.3 kB / 20.79 MB, free: 2.316 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.607/1.607, allocations: 230.6 MB / 254.2 MB, free: 15.07 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 1.08/1.08, allocations: 150 MB / 460.2 MB, free: 5.238 MB / 350.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.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",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.002008/0.002008, allocations: 61.72 kB / 0.6368 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1735, allocations: 89.15 MB / 0.7238 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005687/0.1791, allocations: 3.103 MB / 0.7269 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003562/0.1827, allocations: 2.006 MB / 0.7288 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1829, allocations: 7.938 kB / 0.7288 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009642/0.1838, allocations: 290.8 kB / 0.7291 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.1843, allocations: 199.1 kB / 0.7293 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.185, allocations: 247.3 kB / 0.7295 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.1854, allocations: 322.9 kB / 0.7298 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.1858, allocations: 153 kB / 0.73 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.186, allocations: 139.5 kB / 0.7301 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.1863, allocations: 155.5 kB / 0.7303 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.1863, allocations: 20 kB / 0.7303 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000707/0.187, allocations: 427.2 kB / 0.7307 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1871, allocations: 87.67 kB / 0.7308 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1873, allocations: 123.4 kB / 0.7309 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007047/0.188, allocations: 0.4944 MB / 0.7314 GB, free: 12.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.188, allocations: 3.938 kB / 0.7314 GB, free: 12.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.188, allocations: 0 / 0.7314 GB, free: 12.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.188, allocations: 0 / 0.7314 GB, free: 12.27 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000966/0.189, allocations: 0.5647 MB / 0.7319 GB, free: 11.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.189, allocations: 12.03 kB / 0.7319 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.487e-05/0.189, allocations: 4.625 kB / 0.7319 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.675e-05/0.1891, allocations: 58.72 kB / 0.732 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008477/0.1899, allocations: 108.7 kB / 0.7321 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.1903, allocations: 275.4 kB / 0.7324 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1903, allocations: 16.75 kB / 0.7324 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.1904, allocations: 20.38 kB / 0.7324 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.191, allocations: 357.1 kB / 0.7327 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.191, allocations: 3.984 kB / 0.7327 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.191, allocations: 15.94 kB / 0.7328 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.1911, allocations: 24.42 kB / 0.7328 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.1916, allocations: 293.5 kB / 0.7331 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.1941, allocations: 1.73 MB / 0.7348 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.1946, allocations: 326.1 kB / 0.7351 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1948, allocations: 97.67 kB / 0.7352 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.1949, allocations: 89.09 kB / 0.7352 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.195, allocations: 38.5 kB / 0.7353 GB, free: 7.914 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.195, allocations: 4 kB / 0.7353 GB, free: 7.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.00283/0.1978, allocations: 0.9597 MB / 0.7362 GB, free: 6.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.1979, allocations: 85.05 kB / 0.7363 GB, free: 6.812 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.1981, allocations: 223.8 kB / 0.7365 GB, free: 6.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.1982, allocations: 29.64 kB / 0.7365 GB, free: 6.543 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1983, allocations: 176.5 kB / 0.7367 GB, free: 6.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.1984, allocations: 83.28 kB / 0.7368 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.1985, allocations: 65.64 kB / 0.7369 GB, free: 6.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1986, allocations: 326.8 kB / 0.7372 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.1989, allocations: 135.8 kB / 0.7373 GB, free: 5.754 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.1991, allocations: 214.4 kB / 0.7375 GB, free: 5.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.1996, allocations: 366 kB / 0.7378 GB, free: 5.121 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1996, allocations: 0 / 0.7378 GB, free: 5.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009304/0.2006, allocations: 0.5159 MB / 0.7384 GB, free: 4.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.2006, allocations: 8 kB / 0.7384 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2006, allocations: 0 / 0.7384 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.2012, allocations: 159.6 kB / 0.7385 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.2014, allocations: 55.91 kB / 0.7386 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/0.2051, allocations: 4.186 MB / 0.7427 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.2053, allocations: 19.94 kB / 0.7427 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.2053, allocations: 12 kB / 0.7427 GB, free: 15.81 MB / 0.5606 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.2056, allocations: 173.7 kB / 0.7429 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.2056, allocations: 23.89 kB / 0.7429 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009571/0.2066, allocations: 470.5 kB / 0.7433 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2066, allocations: 8 kB / 0.7433 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2066, allocations: 0 / 0.7433 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2066, allocations: 3.938 kB / 0.7433 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.2083, allocations: 1.002 MB / 0.7443 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2083, allocations: 0 / 0.7443 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.2085, allocations: 35.92 kB / 0.7443 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/0.2089, allocations: 139.5 kB / 0.7445 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.2089, allocations: 11.98 kB / 0.7445 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/0.2124, allocations: 4.163 MB / 0.7486 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.2124, allocations: 4 kB / 0.7486 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009156/0.2133, allocations: 0.6181 MB / 0.7492 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2134, allocations: 128.9 kB / 0.7493 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.2135, allocations: 12 kB / 0.7493 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.2137, allocations: 15.98 kB / 0.7493 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.2138, allocations: 23.97 kB / 0.7493 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.2138, allocations: 12 kB / 0.7493 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001665/0.214, allocations: 157.5 kB / 0.7495 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.214, allocations: 0 / 0.7495 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005675/0.2145, allocations: 99.75 kB / 0.7496 GB, free: 8.199 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001333/0.2159, allocations: 1.195 MB / 0.7508 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.2169, allocations: 0.5672 MB / 0.7513 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2169, allocations: 0 / 0.7513 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.2175, allocations: 394.2 kB / 0.7517 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.218, allocations: 46.3 kB / 0.7517 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.2228, allocations: 3.35 MB / 0.755 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.2233, allocations: 0.7869 MB / 0.7558 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.2234, allocations: 54.25 kB / 0.7558 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.2236, allocations: 71.41 kB / 0.7559 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2236, allocations: 0 / 0.7559 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.2558, allocations: 6.888 MB / 0.7626 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.79, allocations: 8.062 kB / 0.7626 GB, free: 10.68 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.223896120034624] Failed to read output from testmodel.py, exit status != 0: 12.94644127896754 12.962690547 12.771441428 Calling exit ...