Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.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.001401/0.001401, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001634/0.001634, allocations: 214 kB / 22.24 MB, free: 5.262 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.777 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.002649/0.002649, allocations: 280.1 kB / 312.7 MB, free: 2.594 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.276/1.276, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor",fmuType="me",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.003074/0.003074, allocations: 98.7 kB / 0.7395 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1733, allocations: 95.37 MB / 0.8326 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.006188/0.1795, allocations: 3.804 MB / 0.8363 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.1827, allocations: 1.667 MB / 0.838 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.1829, allocations: 11.94 kB / 0.838 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.1844, allocations: 0.4922 MB / 0.8385 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005261/0.1849, allocations: 226.9 kB / 0.8387 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.1855, allocations: 207.5 kB / 0.8389 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.186, allocations: 478.4 kB / 0.8393 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005325/0.1866, allocations: 285.4 kB / 0.8396 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.1868, allocations: 203.3 kB / 0.8398 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004141/0.1872, allocations: 211.1 kB / 0.84 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.1873, allocations: 28 kB / 0.84 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.1877, allocations: 219.5 kB / 0.8402 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.1878, allocations: 127.6 kB / 0.8404 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.188, allocations: 151.3 kB / 0.8405 GB, free: 224 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007036/0.1887, allocations: 0.506 MB / 0.841 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1887, allocations: 0 / 0.841 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1887, allocations: 0 / 0.841 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1887, allocations: 0 / 0.841 GB, free: 15.71 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001084/0.1898, allocations: 0.5674 MB / 0.8415 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1899, allocations: 13.33 kB / 0.8416 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.793e-05/0.1899, allocations: 66.73 kB / 0.8416 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008987/0.1908, allocations: 132.6 kB / 0.8417 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.1913, allocations: 241.9 kB / 0.842 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.1913, allocations: 21.02 kB / 0.842 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/0.1914, allocations: 32.38 kB / 0.842 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007897/0.1922, allocations: 0.5782 MB / 0.8426 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1922, allocations: 7.938 kB / 0.8426 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.1922, allocations: 15.94 kB / 0.8426 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-05/0.1923, allocations: 28.64 kB / 0.8426 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.1928, allocations: 322.3 kB / 0.843 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/0.195, allocations: 1.571 MB / 0.8445 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.1953, allocations: 173.1 kB / 0.8447 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.1956, allocations: 96.8 kB / 0.8447 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.1956, allocations: 4 kB / 0.8447 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1956, allocations: 38.56 kB / 0.8448 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.1956, allocations: 0 / 0.8448 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0006086/0.1963, allocations: 226.5 kB / 0.845 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1963, allocations: 51.41 kB / 0.845 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.1966, allocations: 277.8 kB / 0.8453 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1967, allocations: 29.7 kB / 0.8453 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1968, allocations: 204.3 kB / 0.8455 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/0.1969, allocations: 51.53 kB / 0.8456 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.197, allocations: 57.89 kB / 0.8456 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1972, allocations: 334.8 kB / 0.846 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1973, allocations: 52.44 kB / 0.846 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.1974, allocations: 152.7 kB / 0.8462 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.1977, allocations: 214.9 kB / 0.8464 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1977, allocations: 0 / 0.8464 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004423/0.1982, allocations: 276.8 kB / 0.8466 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1982, allocations: 6.188 kB / 0.8466 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1982, allocations: 4 kB / 0.8466 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.1984, allocations: 24.84 kB / 0.8467 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.1986, allocations: 51.91 kB / 0.8467 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.1998, allocations: 1.315 MB / 0.848 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.1999, allocations: 27.78 kB / 0.848 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.2, allocations: 8 kB / 0.848 GB, free: 8.012 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 0.0001697/0.2001, allocations: 170.3 kB / 0.8482 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.2002, allocations: 23.86 kB / 0.8482 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.2002, allocations: 29.77 kB / 0.8482 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2002, allocations: 4 kB / 0.8482 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2002, allocations: 0 / 0.8482 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2002, allocations: 3.938 kB / 0.8482 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00097/0.2012, allocations: 0.6164 MB / 0.8488 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2012, allocations: 0 / 0.8488 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-05/0.2013, allocations: 27.92 kB / 0.8489 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-05/0.2014, allocations: 28.78 kB / 0.8489 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.2014, allocations: 4 kB / 0.8489 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.2025, allocations: 1.312 MB / 0.8502 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2025, allocations: 4.031 kB / 0.8502 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.2029, allocations: 317.2 kB / 0.8505 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/0.203, allocations: 35.83 kB / 0.8505 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.203, allocations: 12 kB / 0.8505 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.2032, allocations: 8.156 kB / 0.8505 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.2032, allocations: 23.91 kB / 0.8506 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.2032, allocations: 4 kB / 0.8506 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001926/0.2034, allocations: 185.2 kB / 0.8508 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2034, allocations: 0 / 0.8508 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003828/0.2038, allocations: 91.72 kB / 0.8508 GB, free: 4.902 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0007067/0.2045, allocations: 0.843 MB / 0.8517 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.205, allocations: 269.2 kB / 0.8519 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.205, allocations: 7.938 kB / 0.8519 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.2052, allocations: 179.7 kB / 0.8521 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.2057, allocations: 59.41 kB / 0.8522 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.209, allocations: 2.741 MB / 0.8548 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.2092, allocations: 178.1 kB / 0.855 GB, free: 356 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.2094, allocations: 46.27 kB / 0.855 GB, free: 312 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.2095, allocations: 83.41 kB / 0.8551 GB, free: 232 kB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.2095, allocations: 0 / 0.8551 GB, free: 232 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03847/0.248, allocations: 6.13 MB / 0.8611 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.65, allocations: 11.3 kB / 0.8611 GB, free: 10.3 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.048979096114635] Failed to read output from testmodel.py, exit status != 0: 11.781311540864408 11.80957123 11.6160652 Calling exit ...