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.001673/0.001673, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002029/0.002029, allocations: 217.8 kB / 22.26 MB, free: 5.113 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 8.031 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.002511/0.002511, allocations: 294.1 kB / 312.7 MB, free: 2.824 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.221/1.221, allocations: 180.6 MB / 0.5369 GB, free: 12.97 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.003908/0.003908, allocations: 100.5 kB / 0.7396 GB, free: 28.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1786, allocations: 95.39 MB / 0.8327 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.007989/0.1866, allocations: 3.991 MB / 0.8366 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.1896, allocations: 1.823 MB / 0.8384 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.1898, allocations: 7.938 kB / 0.8384 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.1912, allocations: 0.5029 MB / 0.8389 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.1917, allocations: 222.9 kB / 0.8391 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.1923, allocations: 212.8 kB / 0.8393 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005701/0.1928, allocations: 482.3 kB / 0.8398 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004947/0.1933, allocations: 281.5 kB / 0.84 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.1936, allocations: 215.2 kB / 0.8402 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.194, allocations: 219.2 kB / 0.8404 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.59e-05/0.194, allocations: 28 kB / 0.8405 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.1944, allocations: 259.4 kB / 0.8407 GB, free: 456 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1946, allocations: 123.6 kB / 0.8408 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.1947, allocations: 171.2 kB / 0.841 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000646/0.1954, allocations: 0.5059 MB / 0.8415 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1954, allocations: 0 / 0.8415 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1954, allocations: 0 / 0.8415 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.1954, allocations: 0 / 0.8415 GB, free: 15.65 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.00106/0.1965, allocations: 0.5674 MB / 0.8421 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1965, allocations: 9.344 kB / 0.8421 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.072e-05/0.1966, allocations: 70.72 kB / 0.8421 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008815/0.1975, allocations: 144.5 kB / 0.8423 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.1979, allocations: 237.9 kB / 0.8425 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.1979, allocations: 25.02 kB / 0.8425 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.198, allocations: 24.38 kB / 0.8425 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.1987, allocations: 471.6 kB / 0.843 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1987, allocations: 0 / 0.843 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.1987, allocations: 12 kB / 0.843 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/0.1988, allocations: 32.64 kB / 0.843 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.1993, allocations: 314.3 kB / 0.8433 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.2016, allocations: 2.147 MB / 0.8454 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.202, allocations: 162.7 kB / 0.8456 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.2022, allocations: 100.7 kB / 0.8457 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.2022, allocations: 0 / 0.8457 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.2022, allocations: 42.55 kB / 0.8457 GB, free: 11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.2022, allocations: 0 / 0.8457 GB, free: 11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.000566/0.2028, allocations: 216.5 kB / 0.8459 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.2028, allocations: 51.75 kB / 0.846 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.2031, allocations: 273.7 kB / 0.8462 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.2032, allocations: 33.7 kB / 0.8463 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.2033, allocations: 216.2 kB / 0.8465 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.2034, allocations: 47.64 kB / 0.8465 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.2034, allocations: 49.89 kB / 0.8466 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2036, allocations: 338.8 kB / 0.8469 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-05/0.2037, allocations: 52.44 kB / 0.8469 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.2039, allocations: 152.8 kB / 0.8471 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.2042, allocations: 214.9 kB / 0.8473 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.2042, allocations: 4 kB / 0.8473 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005172/0.2047, allocations: 268.4 kB / 0.8476 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.2047, allocations: 11.98 kB / 0.8476 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2047, allocations: 0 / 0.8476 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/0.2049, allocations: 33.22 kB / 0.8476 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.205, allocations: 43.92 kB / 0.8476 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.2062, allocations: 1.33 MB / 0.8489 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.2064, allocations: 23.84 kB / 0.849 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.2064, allocations: 8 kB / 0.849 GB, free: 7.41 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.0001744/0.2066, allocations: 170.3 kB / 0.8491 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.2066, allocations: 31.81 kB / 0.8492 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.2067, allocations: 33.86 kB / 0.8492 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2067, allocations: 0 / 0.8492 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2067, allocations: 0 / 0.8492 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2067, allocations: 0 / 0.8492 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009444/0.2076, allocations: 0.6704 MB / 0.8498 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2076, allocations: 7.938 kB / 0.8499 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.338e-05/0.2077, allocations: 16 kB / 0.8499 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.04e-05/0.2078, allocations: 28.78 kB / 0.8499 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.2078, allocations: 7.984 kB / 0.8499 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.2089, allocations: 1.315 MB / 0.8512 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2089, allocations: 32 / 0.8512 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.2092, allocations: 313.4 kB / 0.8515 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.914e-05/0.2093, allocations: 51.73 kB / 0.8515 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.2093, allocations: 3.984 kB / 0.8515 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.2095, allocations: 16.09 kB / 0.8516 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.2095, allocations: 19.8 kB / 0.8516 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.2095, allocations: 8 kB / 0.8516 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001897/0.2097, allocations: 189.2 kB / 0.8518 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2097, allocations: 4 kB / 0.8518 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003779/0.2101, allocations: 75.89 kB / 0.8518 GB, free: 4.227 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.0006569/0.2107, allocations: 0.8536 MB / 0.8527 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.2112, allocations: 269.5 kB / 0.8529 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.2112, allocations: 8.062 kB / 0.8529 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.2114, allocations: 178.6 kB / 0.8531 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.2119, allocations: 58.89 kB / 0.8532 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.2152, allocations: 2.741 MB / 0.8558 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.2157, allocations: 0.7907 MB / 0.8566 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.2158, allocations: 42.27 kB / 0.8567 GB, free: 15 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.2159, allocations: 83.41 kB / 0.8567 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2159, allocations: 0 / 0.8567 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03688/0.2528, allocations: 5.626 MB / 0.8622 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.27, allocations: 4.703 kB / 0.8622 GB, free: 9.469 MB / 0.6075 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.450646420940757] Failed to read output from testmodel.py, exit status != 0: 11.376930144848302 11.392405144 11.193960082 Calling exit ...