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.001227/0.001227, allocations: 100.4 kB / 20.48 MB, free: 1.363 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.001392/0.001392, allocations: 212.5 kB / 23.78 MB, free: 4.523 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.501/1.501, allocations: 230.6 MB / 257.6 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 1.007/1.007, allocations: 150 MB / 464 MB, free: 10.23 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.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.002016/0.002016, allocations: 66.84 kB / 0.6419 GB, free: 9.949 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.213, allocations: 89.17 MB / 0.729 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005263/0.2183, allocations: 3.051 MB / 0.732 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003446/0.2217, allocations: 1.877 MB / 0.7338 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2219, allocations: 7.938 kB / 0.7338 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009534/0.2228, allocations: 271 kB / 0.7341 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005155/0.2234, allocations: 195.1 kB / 0.7343 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007046/0.2241, allocations: 259.2 kB / 0.7345 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.2245, allocations: 322.9 kB / 0.7348 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.2248, allocations: 157 kB / 0.735 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.2251, allocations: 139.5 kB / 0.7351 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.2254, allocations: 151.5 kB / 0.7353 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.2254, allocations: 20 kB / 0.7353 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006399/0.226, allocations: 391.2 kB / 0.7357 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.2262, allocations: 95.73 kB / 0.7358 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.2263, allocations: 103.5 kB / 0.7359 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.227, allocations: 0.4983 MB / 0.7363 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.227, allocations: 0 / 0.7363 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.227, allocations: 0 / 0.7363 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.227, allocations: 0 / 0.7363 GB, free: 9.324 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009271/0.2279, allocations: 0.4932 MB / 0.7368 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2279, allocations: 8.031 kB / 0.7368 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.446e-05/0.228, allocations: 12.56 kB / 0.7368 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.685e-05/0.228, allocations: 58.73 kB / 0.7369 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008327/0.2289, allocations: 112.7 kB / 0.737 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.2292, allocations: 206.1 kB / 0.7372 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.2293, allocations: 16.81 kB / 0.7372 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.2293, allocations: 16.38 kB / 0.7372 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.2299, allocations: 408 kB / 0.7376 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2299, allocations: 0 / 0.7376 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.23, allocations: 12 kB / 0.7376 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-05/0.23, allocations: 24.42 kB / 0.7377 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005036/0.2305, allocations: 293.5 kB / 0.7379 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.2327, allocations: 1.272 MB / 0.7392 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.2332, allocations: 245 kB / 0.7394 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.2333, allocations: 97.67 kB / 0.7395 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.521e-05/0.2334, allocations: 15.98 kB / 0.7395 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.2335, allocations: 30.56 kB / 0.7395 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.2335, allocations: 0 / 0.7395 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002583/0.236, allocations: 0.9011 MB / 0.7404 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.2361, allocations: 85.05 kB / 0.7405 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.2364, allocations: 211.8 kB / 0.7407 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.2364, allocations: 29.7 kB / 0.7407 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2365, allocations: 180.5 kB / 0.7409 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.2366, allocations: 79.27 kB / 0.741 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.2367, allocations: 61.66 kB / 0.741 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2369, allocations: 334.8 kB / 0.7414 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.2371, allocations: 139.8 kB / 0.7415 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.2374, allocations: 207.9 kB / 0.7417 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.2379, allocations: 364.5 kB / 0.742 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2379, allocations: 4 kB / 0.742 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009457/0.2388, allocations: 0.4965 MB / 0.7425 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.2389, allocations: 15.92 kB / 0.7425 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2389, allocations: 0 / 0.7425 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005794/0.2395, allocations: 155.7 kB / 0.7427 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.2397, allocations: 67.84 kB / 0.7428 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/0.2432, allocations: 3.972 MB / 0.7466 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.2434, allocations: 15.98 kB / 0.7467 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.2434, allocations: 12 kB / 0.7467 GB, free: 14.09 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): 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.0002165/0.2436, allocations: 174 kB / 0.7468 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-05/0.2437, allocations: 23.86 kB / 0.7469 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009608/0.2447, allocations: 466.6 kB / 0.7473 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2447, allocations: 4 kB / 0.7473 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2447, allocations: 8 kB / 0.7473 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2447, allocations: 3.984 kB / 0.7473 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.2463, allocations: 0.9428 MB / 0.7482 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2463, allocations: 4 kB / 0.7482 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.2464, allocations: 27.98 kB / 0.7483 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.2469, allocations: 147.5 kB / 0.7484 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.2469, allocations: 8 kB / 0.7484 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/0.2501, allocations: 3.944 MB / 0.7523 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2501, allocations: 3.938 kB / 0.7523 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.251, allocations: 0.6117 MB / 0.7529 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.2511, allocations: 51.81 kB / 0.7529 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.2511, allocations: 8.25 kB / 0.7529 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.2514, allocations: 19.97 kB / 0.7529 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.2514, allocations: 27.91 kB / 0.753 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.2515, allocations: 12 kB / 0.753 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001553/0.2516, allocations: 152.2 kB / 0.7531 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2516, allocations: 0 / 0.7531 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005751/0.2522, allocations: 103.8 kB / 0.7532 GB, free: 6.922 MB / 0.5762 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.001264/0.2534, allocations: 1.205 MB / 0.7544 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.2545, allocations: 0.5698 MB / 0.755 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2545, allocations: 4.062 kB / 0.755 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.2551, allocations: 385.1 kB / 0.7553 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.2556, allocations: 48.67 kB / 0.7554 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.2602, allocations: 3.34 MB / 0.7586 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.2604, allocations: 169.2 kB / 0.7588 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000168/0.2606, allocations: 58.25 kB / 0.7589 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.2607, allocations: 79.41 kB / 0.7589 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.2607, allocations: 0 / 0.7589 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4077/0.6684, allocations: 7.102 MB / 0.7659 GB, free: 34.94 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.12, allocations: 13.89 kB / 0.7659 GB, free: 34.93 MB / 0.5762 GB " [Timeout remaining time 646] (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: 18.166716128005646] Failed to read output from testmodel.py, exit status != 0: 14.300271480926313 14.328483701 14.096857302 Calling exit ...