Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.0008632/0.0008632, 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.0009885/0.0009885, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.914/0.914, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5816/0.5816, allocations: 114 MB / 373.9 MB, free: 8.699 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.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.5542 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.518e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.004607/0.004632, allocations: 3.036 MB / 0.5571 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.006635, allocations: 1.301 MB / 0.5584 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.006773, allocations: 7.938 kB / 0.5584 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.00746, allocations: 330.7 kB / 0.5587 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.007784, allocations: 147.1 kB / 0.5589 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.008098, allocations: 146.4 kB / 0.559 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.008416, allocations: 314.9 kB / 0.5593 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.008782, allocations: 184.6 kB / 0.5595 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.008953, allocations: 175.5 kB / 0.5596 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.0092, allocations: 127.6 kB / 0.5598 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.009228, allocations: 16 kB / 0.5598 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.009439, allocations: 151.6 kB / 0.5599 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.256e-05/0.009521, allocations: 91.67 kB / 0.56 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.009591, allocations: 79.81 kB / 0.5601 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.009919, allocations: 335 kB / 0.5604 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.009923, allocations: 4 kB / 0.5604 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/0.009924, allocations: 4 kB / 0.5604 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.009929, allocations: 0 / 0.5604 GB, free: 12.36 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006294/0.01056, allocations: 453.4 kB / 0.5608 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.0106, allocations: 8.625 kB / 0.5609 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.01065, allocations: 58.73 kB / 0.5609 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003275/0.01097, allocations: 80.72 kB / 0.561 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.0112, allocations: 197.3 kB / 0.5612 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.01122, allocations: 8.75 kB / 0.5612 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.01124, allocations: 16.38 kB / 0.5612 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.01159, allocations: 385.3 kB / 0.5616 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.0116, allocations: 192 / 0.5616 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.01162, allocations: 8.125 kB / 0.5616 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.01165, allocations: 20.38 kB / 0.5616 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.01185, allocations: 192.9 kB / 0.5618 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008917/0.01274, allocations: 1.031 MB / 0.5628 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.01291, allocations: 98.48 kB / 0.5629 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.01296, allocations: 32.78 kB / 0.5629 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.01297, allocations: 4.156 kB / 0.5629 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.01299, allocations: 30.56 kB / 0.5629 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.414e-06/0.01299, allocations: 4 kB / 0.5629 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0003227/0.01331, allocations: 146.4 kB / 0.5631 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.01334, allocations: 55.34 kB / 0.5631 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.01349, allocations: 207.4 kB / 0.5633 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.0135, allocations: 29.7 kB / 0.5634 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.01358, allocations: 164 kB / 0.5635 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.0136, allocations: 27.78 kB / 0.5635 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.01364, allocations: 33.67 kB / 0.5636 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/0.01373, allocations: 330.8 kB / 0.5639 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.01378, allocations: 43.97 kB / 0.5639 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.01385, allocations: 92.48 kB / 0.564 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.01399, allocations: 152.4 kB / 0.5642 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01399, allocations: 4 kB / 0.5642 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002194/0.01421, allocations: 194.1 kB / 0.5644 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01423, allocations: 4 kB / 0.5644 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.01423, allocations: 4 kB / 0.5644 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.01438, allocations: 24.84 kB / 0.5644 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.01445, allocations: 24.27 kB / 0.5644 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000835/0.01528, allocations: 1.318 MB / 0.5657 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.01536, allocations: 23.84 kB / 0.5657 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.01537, allocations: 8 kB / 0.5657 GB, free: 6.473 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (17): * Single equations (assignments): 16 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.626e-05/0.01547, allocations: 145.9 kB / 0.5659 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.01549, allocations: 27.97 kB / 0.5659 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.01551, allocations: 21.45 kB / 0.5659 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01551, allocations: 4 kB / 0.5659 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01551, allocations: 4.062 kB / 0.5659 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01552, allocations: 0 / 0.5659 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.01587, allocations: 402.6 kB / 0.5663 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01588, allocations: 0 / 0.5663 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.0159, allocations: 7.984 kB / 0.5663 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-05/0.01596, allocations: 24.84 kB / 0.5663 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.01597, allocations: 4 kB / 0.5663 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006132/0.01659, allocations: 1.299 MB / 0.5676 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01659, allocations: 3.984 kB / 0.5676 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.01673, allocations: 220.2 kB / 0.5678 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.01676, allocations: 19.84 kB / 0.5678 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.01677, allocations: 7.984 kB / 0.5679 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.01683, allocations: 4.156 kB / 0.5679 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.01685, allocations: 8 kB / 0.5679 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.01686, allocations: 0 / 0.5679 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.088e-05/0.01694, allocations: 148.3 kB / 0.568 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01694, allocations: 0 / 0.568 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002147/0.01715, allocations: 51.89 kB / 0.5681 GB, free: 3.895 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003137/0.01747, allocations: 0.7391 MB / 0.5688 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.01773, allocations: 210.7 kB / 0.569 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01773, allocations: 0 / 0.569 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.01783, allocations: 150.6 kB / 0.5691 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01807, allocations: 38.31 kB / 0.5692 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.01954, allocations: 2.044 MB / 0.5712 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.905e-05/0.01964, allocations: 139.9 kB / 0.5713 GB, free: 376 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.989e-05/0.01971, allocations: 29.45 kB / 0.5713 GB, free: 344 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.01977, allocations: 52.48 kB / 0.5714 GB, free: 288 kB / 0.5261 GB Notification: Performance of SimCode: time 6.12e-07/0.01977, allocations: 0 / 0.5714 GB, free: 288 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.03694, allocations: 4.501 MB / 0.5758 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/7.228, allocations: 9.781 kB / 0.5758 GB, free: 11.98 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance_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_DC_Lines_Examples_Resistance.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.821560167707503] Failed to read output from testmodel.py, exit status != 0: 7.3130815122276545 7.321592177 7.309815787 Calling exit ...