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.0016/0.0016, allocations: 119 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.00202/0.00202, allocations: 224.6 kB / 23.01 MB, free: 5.047 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.9634/0.9634, allocations: 150 MB / 463.2 MB, free: 10.52 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GridDCLoad",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.0021/0.0021, allocations: 70.36 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.193, allocations: 89.17 MB / 0.7283 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005291/0.1983, allocations: 3.175 MB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003454/0.2018, allocations: 2.045 MB / 0.7334 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.2019, allocations: 11.94 kB / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009898/0.2029, allocations: 294.8 kB / 0.7337 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.2034, allocations: 199.1 kB / 0.7339 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.2042, allocations: 262.8 kB / 0.7342 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.2047, allocations: 318.9 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.205, allocations: 157 kB / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.2052, allocations: 135.5 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.2055, allocations: 159.4 kB / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.2056, allocations: 20 kB / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006943/0.2063, allocations: 431.2 kB / 0.7353 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.2064, allocations: 83.75 kB / 0.7354 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.2065, allocations: 127.3 kB / 0.7355 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006779/0.2072, allocations: 0.4945 MB / 0.736 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2072, allocations: 0 / 0.736 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2072, allocations: 0 / 0.736 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2072, allocations: 3.938 kB / 0.736 GB, free: 9.406 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.0009365/0.2082, allocations: 0.4893 MB / 0.7365 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2082, allocations: 12.03 kB / 0.7365 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.187e-05/0.2083, allocations: 58.72 kB / 0.7366 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007908/0.2091, allocations: 112.7 kB / 0.7367 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.2094, allocations: 206.1 kB / 0.7369 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.2095, allocations: 20.8 kB / 0.7369 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.2095, allocations: 16.38 kB / 0.7369 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.2101, allocations: 360.8 kB / 0.7372 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2101, allocations: 0 / 0.7372 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.2101, allocations: 4 kB / 0.7372 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/0.2102, allocations: 28.42 kB / 0.7373 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.2107, allocations: 297.4 kB / 0.7376 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.213, allocations: 1.62 MB / 0.7391 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.2135, allocations: 241 kB / 0.7394 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.2136, allocations: 113.5 kB / 0.7395 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.553e-05/0.2137, allocations: 7.984 kB / 0.7395 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.2137, allocations: 42.56 kB / 0.7395 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.2137, allocations: 0 / 0.7395 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002555/0.2163, allocations: 0.9049 MB / 0.7404 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.2164, allocations: 81.05 kB / 0.7405 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.2166, allocations: 211.8 kB / 0.7407 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.2166, allocations: 33.7 kB / 0.7407 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.2168, allocations: 172.4 kB / 0.7409 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.2169, allocations: 75.33 kB / 0.741 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.217, allocations: 69.64 kB / 0.741 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2171, allocations: 326.8 kB / 0.7413 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.2174, allocations: 139.8 kB / 0.7415 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.2176, allocations: 215 kB / 0.7417 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.2181, allocations: 368.5 kB / 0.742 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2181, allocations: 0 / 0.742 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009128/0.219, allocations: 0.4965 MB / 0.7425 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2191, allocations: 8.312 kB / 0.7425 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2191, allocations: 4 kB / 0.7425 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.2196, allocations: 147.3 kB / 0.7427 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.2199, allocations: 63.91 kB / 0.7427 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/0.2233, allocations: 3.984 MB / 0.7466 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.2235, allocations: 24.02 kB / 0.7466 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.2236, allocations: 8 kB / 0.7466 GB, free: 13.8 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.0002117/0.2238, allocations: 173.8 kB / 0.7468 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.2239, allocations: 23.86 kB / 0.7468 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009211/0.2248, allocations: 474.5 kB / 0.7473 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2248, allocations: 4 kB / 0.7473 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2248, allocations: 3.984 kB / 0.7473 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.2248, allocations: 4 kB / 0.7473 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.2265, allocations: 0.97 MB / 0.7482 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2265, allocations: 0 / 0.7482 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2266, allocations: 32.23 kB / 0.7483 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/0.227, allocations: 143.3 kB / 0.7484 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.2271, allocations: 8 kB / 0.7484 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003272/0.2303, allocations: 3.956 MB / 0.7523 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.2303, allocations: 7.969 kB / 0.7523 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/0.2312, allocations: 0.6203 MB / 0.7529 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.2314, allocations: 51.81 kB / 0.7529 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.2314, allocations: 8 kB / 0.753 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.2317, allocations: 16.08 kB / 0.753 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.2317, allocations: 27.89 kB / 0.753 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.2317, allocations: 12 kB / 0.753 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001658/0.2319, allocations: 152.2 kB / 0.7532 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2319, allocations: 4 kB / 0.7532 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005389/0.2324, allocations: 95.86 kB / 0.7532 GB, free: 6.59 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.00131/0.2337, allocations: 1.215 MB / 0.7544 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.2348, allocations: 0.5659 MB / 0.755 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2348, allocations: 4.062 kB / 0.755 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.2353, allocations: 381.1 kB / 0.7554 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.2359, allocations: 50.22 kB / 0.7554 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.2404, allocations: 3.324 MB / 0.7586 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3389/0.5794, allocations: 0.7826 MB / 0.7594 GB, free: 33.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002292/0.5796, allocations: 55.3 kB / 0.7595 GB, free: 33.63 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.5797, allocations: 71.98 kB / 0.7595 GB, free: 33.62 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.5797, allocations: 0.8438 kB / 0.7595 GB, free: 33.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04278/0.6225, allocations: 7.127 MB / 0.7665 GB, free: 33.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.78, allocations: 10.73 kB / 0.7665 GB, free: 33.06 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: 17.666973379207775] Failed to read output from testmodel.py, exit status != 0: 13.897560990182683 13.921565255 13.710212463 Calling exit ...