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.001219/0.001219, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001521/0.001521, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9195/0.9195, allocations: 177.2 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.5753/0.5753, allocations: 114 MB / 373.9 MB, free: 8.688 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5542 GB, free: 1.711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.904e-05, allocations: 9.5 kB / 0.5542 GB, free: 1.703 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003245/0.003274, allocations: 3.013 MB / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.005373, allocations: 1.873 MB / 0.5589 GB, free: 12.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.005487, allocations: 7.938 kB / 0.5589 GB, free: 12.79 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.006171, allocations: 278.8 kB / 0.5592 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.006506, allocations: 198.9 kB / 0.5594 GB, free: 12.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.006981, allocations: 266.9 kB / 0.5597 GB, free: 12.06 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.007258, allocations: 338.7 kB / 0.56 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.007517, allocations: 157 kB / 0.5601 GB, free: 11.57 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.007732, allocations: 187.5 kB / 0.5603 GB, free: 11.39 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.007947, allocations: 131.6 kB / 0.5604 GB, free: 11.26 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.007972, allocations: 20 kB / 0.5605 GB, free: 11.24 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.008502, allocations: 383.1 kB / 0.5608 GB, free: 10.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.00858, allocations: 91.72 kB / 0.5609 GB, free: 10.77 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.008644, allocations: 87.77 kB / 0.561 GB, free: 10.69 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005666/0.009211, allocations: 0.518 MB / 0.5615 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.009216, allocations: 3.938 kB / 0.5615 GB, free: 10.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.009218, allocations: 0 / 0.5615 GB, free: 10.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.009225, allocations: 0 / 0.5615 GB, free: 10.16 MB / 490.7 MB 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.0008874/0.01011, allocations: 0.4941 MB / 0.562 GB, free: 9.641 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.01016, allocations: 8.625 kB / 0.562 GB, free: 9.633 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.124e-05/0.01023, allocations: 62.72 kB / 0.562 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006833/0.01091, allocations: 116.6 kB / 0.5622 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.01128, allocations: 204.8 kB / 0.5624 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.0113, allocations: 16.86 kB / 0.5624 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.01133, allocations: 24.38 kB / 0.5624 GB, free: 9.188 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.01189, allocations: 401 kB / 0.5628 GB, free: 8.762 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.0119, allocations: 4.188 kB / 0.5628 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.01193, allocations: 8.125 kB / 0.5628 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/0.01198, allocations: 24.48 kB / 0.5628 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.01243, allocations: 293.8 kB / 0.5631 GB, free: 8.438 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.01456, allocations: 1.28 MB / 0.5643 GB, free: 7.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.015, allocations: 241 kB / 0.5646 GB, free: 6.836 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.01514, allocations: 101.7 kB / 0.5647 GB, free: 6.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.732e-05/0.01522, allocations: 12 kB / 0.5647 GB, free: 6.719 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.01525, allocations: 38.53 kB / 0.5647 GB, free: 6.672 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 3.246e-06/0.01526, allocations: 0 / 0.5647 GB, free: 6.672 MB / 490.7 MB Notification: Performance of matching and sorting (n=23): time 0.0021/0.01736, allocations: 0.9009 MB / 0.5656 GB, free: 5.754 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.0174, allocations: 81.11 kB / 0.5657 GB, free: 5.656 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.01756, allocations: 215.8 kB / 0.5659 GB, free: 5.434 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.01758, allocations: 33.7 kB / 0.5659 GB, free: 5.395 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.01767, allocations: 172.5 kB / 0.5661 GB, free: 5.223 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.01771, allocations: 79.27 kB / 0.5662 GB, free: 5.145 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/0.01779, allocations: 69.64 kB / 0.5662 GB, free: 5.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.01789, allocations: 330.8 kB / 0.5665 GB, free: 4.738 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.01801, allocations: 131.9 kB / 0.5667 GB, free: 4.609 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.01818, allocations: 214.3 kB / 0.5669 GB, free: 4.367 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.01849, allocations: 364.5 kB / 0.5672 GB, free: 3.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.01849, allocations: 0 / 0.5672 GB, free: 3.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005594/0.01905, allocations: 0.5082 MB / 0.5677 GB, free: 3.453 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.01908, allocations: 8 kB / 0.5677 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01908, allocations: 4 kB / 0.5677 GB, free: 3.441 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/0.01941, allocations: 155.6 kB / 0.5679 GB, free: 3.277 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.01957, allocations: 59.91 kB / 0.5679 GB, free: 3.219 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.02206, allocations: 3.964 MB / 0.5718 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.02218, allocations: 20.02 kB / 0.5718 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.0222, allocations: 19.94 kB / 0.5718 GB, free: 14.93 MB / 0.4948 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.0001593/0.02236, allocations: 175.7 kB / 0.572 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.02241, allocations: 23.8 kB / 0.572 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006419/0.02305, allocations: 469.9 kB / 0.5725 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.02305, allocations: 7.938 kB / 0.5725 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.02306, allocations: 0 / 0.5725 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.02306, allocations: 0 / 0.5725 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.0242, allocations: 0.9327 MB / 0.5734 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.02421, allocations: 4 kB / 0.5734 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.02428, allocations: 35.92 kB / 0.5734 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/0.02453, allocations: 151.5 kB / 0.5736 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.02454, allocations: 8 kB / 0.5736 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.0265, allocations: 3.936 MB / 0.5774 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.0265, allocations: 3.984 kB / 0.5774 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.02733, allocations: 0.6148 MB / 0.578 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.02742, allocations: 47.83 kB / 0.5781 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.02744, allocations: 11.98 kB / 0.5781 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.02757, allocations: 20.05 kB / 0.5781 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.02762, allocations: 31.91 kB / 0.5781 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.02763, allocations: 8 kB / 0.5781 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001216/0.02775, allocations: 161.5 kB / 0.5783 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02775, allocations: 0 / 0.5783 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004506/0.0282, allocations: 91.94 kB / 0.5784 GB, free: 7.766 MB / 0.4948 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.0008621/0.02907, allocations: 1.201 MB / 0.5796 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006452/0.02971, allocations: 0.5605 MB / 0.5801 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02971, allocations: 0.625 kB / 0.5801 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.02999, allocations: 398.8 kB / 0.5805 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.03035, allocations: 39.97 kB / 0.5805 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.03342, allocations: 3.307 MB / 0.5838 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.0336, allocations: 177.1 kB / 0.5839 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001522/0.03375, allocations: 58.23 kB / 0.584 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.831e-05/0.03385, allocations: 72.47 kB / 0.584 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/0.03385, allocations: 0 / 0.584 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.05796, allocations: 7.481 MB / 0.5914 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.214, allocations: 5.859 kB / 0.5914 GB, free: 10.35 MB / 0.5105 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 10.85005711670965] Failed to read output from testmodel.py, exit status != 0: 8.311316045932472 8.324692698 8.312749394 Calling exit ...