Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.001297/0.001297, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001406/0.001406, allocations: 213.9 kB / 23.03 MB, free: 4.922 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002528/0.002528, allocations: 281.7 kB / 313.5 MB, free: 2.629 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002875/0.002875, allocations: 107 kB / 0.7402 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1616, allocations: 95.38 MB / 0.8334 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006341/0.168, allocations: 4.268 MB / 0.8376 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003138/0.1711, allocations: 1.804 MB / 0.8393 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.1713, allocations: 15.94 kB / 0.8393 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.173, allocations: 0.5953 MB / 0.8399 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005817/0.1736, allocations: 262.6 kB / 0.8402 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000617/0.1742, allocations: 248.4 kB / 0.8404 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007042/0.1749, allocations: 0.619 MB / 0.841 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000573/0.1755, allocations: 351.2 kB / 0.8413 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.1758, allocations: 255.1 kB / 0.8416 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004832/0.1763, allocations: 282.9 kB / 0.8419 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.748e-05/0.1764, allocations: 36 kB / 0.8419 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004222/0.1768, allocations: 227.4 kB / 0.8421 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.177, allocations: 151.6 kB / 0.8423 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.1772, allocations: 187.2 kB / 0.8424 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000756/0.178, allocations: 0.6227 MB / 0.843 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.178, allocations: 0 / 0.843 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.178, allocations: 0 / 0.843 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.178, allocations: 4 kB / 0.843 GB, free: 14.28 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001271/0.1792, allocations: 0.6609 MB / 0.8437 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1793, allocations: 9.344 kB / 0.8437 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.922e-05/0.1793, allocations: 13.19 kB / 0.8437 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.348e-05/0.1794, allocations: 78.7 kB / 0.8438 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.1804, allocations: 148.5 kB / 0.8439 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.1809, allocations: 272.9 kB / 0.8442 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.1809, allocations: 29.36 kB / 0.8442 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.181, allocations: 32.38 kB / 0.8442 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000942/0.1819, allocations: 0.6898 MB / 0.8449 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.182, allocations: 3.938 kB / 0.8449 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.182, allocations: 12 kB / 0.8449 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/0.1821, allocations: 36.62 kB / 0.845 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.1827, allocations: 390.3 kB / 0.8453 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.1852, allocations: 1.73 MB / 0.847 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.1857, allocations: 247.8 kB / 0.8473 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.1859, allocations: 92.81 kB / 0.8474 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.1859, allocations: 8 kB / 0.8474 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.186, allocations: 38.5 kB / 0.8474 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.186, allocations: 0 / 0.8474 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002268/0.1882, allocations: 0.9058 MB / 0.8483 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.1883, allocations: 59.34 kB / 0.8483 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.1886, allocations: 304.4 kB / 0.8486 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.1886, allocations: 37.7 kB / 0.8487 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.1888, allocations: 236.1 kB / 0.8489 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.1889, allocations: 79.34 kB / 0.849 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.189, allocations: 65.97 kB / 0.849 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1892, allocations: 338.8 kB / 0.8494 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.1894, allocations: 100.6 kB / 0.8494 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.1896, allocations: 192.4 kB / 0.8496 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.19, allocations: 320.1 kB / 0.8499 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.19, allocations: 0 / 0.8499 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007985/0.1908, allocations: 442 kB / 0.8504 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1909, allocations: 8 kB / 0.8504 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1909, allocations: 4 kB / 0.8504 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/0.1913, allocations: 94.72 kB / 0.8505 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.1915, allocations: 63.91 kB / 0.8505 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/0.1951, allocations: 4.074 MB / 0.8545 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.1954, allocations: 12 kB / 0.8545 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.1954, allocations: 12 kB / 0.8545 GB, free: 1.758 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002139/0.1956, allocations: 181.9 kB / 0.8547 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.1957, allocations: 35.75 kB / 0.8547 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.306e-05/0.1958, allocations: 42.41 kB / 0.8548 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1958, allocations: 4 kB / 0.8548 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1958, allocations: 0 / 0.8548 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1958, allocations: 7.922 kB / 0.8548 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.1962, allocations: 344.5 kB / 0.8551 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1962, allocations: 0 / 0.8551 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.1965, allocations: 35.92 kB / 0.8551 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/0.1968, allocations: 94.53 kB / 0.8552 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1968, allocations: 8 kB / 0.8552 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003486/0.2003, allocations: 4.062 MB / 0.8592 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2003, allocations: 3.938 kB / 0.8592 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000879/0.2012, allocations: 0.5524 MB / 0.8598 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.2013, allocations: 47.81 kB / 0.8598 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.2013, allocations: 8 kB / 0.8598 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.2016, allocations: 11.98 kB / 0.8598 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.2016, allocations: 15.97 kB / 0.8598 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.2016, allocations: 11.94 kB / 0.8598 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002449/0.2019, allocations: 211.1 kB / 0.86 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2019, allocations: 0 / 0.86 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004736/0.2023, allocations: 103.9 kB / 0.8601 GB, free: 11.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/0.2036, allocations: 1.097 MB / 0.8612 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009414/0.2045, allocations: 0.5938 MB / 0.8618 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2045, allocations: 0 / 0.8618 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.205, allocations: 467.9 kB / 0.8622 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.2055, allocations: 84.27 kB / 0.8623 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/0.2101, allocations: 3.371 MB / 0.8656 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.2103, allocations: 228.7 kB / 0.8658 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.2105, allocations: 66.91 kB / 0.8659 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.2107, allocations: 107.4 kB / 0.866 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of SimCode: time 5e-07/0.2107, allocations: 0 / 0.866 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05347/0.2642, allocations: 8.512 MB / 0.8743 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.07, allocations: 6.641 kB / 0.8743 GB, free: 13.03 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.130470229894854] Failed to read output from testmodel.py, exit status != 0: 12.244311120943166 12.267327546 12.084182091 Calling exit ...