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.001567/0.001567, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00178/0.00178, allocations: 219.4 kB / 23.01 MB, free: 4.609 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.8 MB, free: 8.02 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.002604/0.002604, allocations: 284.3 kB / 313.5 MB, free: 2.816 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.268/1.268, allocations: 180.6 MB / 0.5377 GB, free: 13.12 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: translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") [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.002935/0.002935, allocations: 104.1 kB / 0.7408 GB, free: 27.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1896, allocations: 95.39 MB / 0.8339 GB, free: 8.199 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.006283/0.1959, allocations: 3.998 MB / 0.8378 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003189/0.1991, allocations: 1.804 MB / 0.8396 GB, free: 2.371 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.1993, allocations: 11.94 kB / 0.8396 GB, free: 2.359 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.2009, allocations: 0.5137 MB / 0.8401 GB, free: 1.844 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0005879/0.2015, allocations: 222.9 kB / 0.8403 GB, free: 1.625 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.2021, allocations: 206.1 kB / 0.8405 GB, free: 1.426 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0005937/0.2027, allocations: 482.3 kB / 0.841 GB, free: 0.9531 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00052/0.2032, allocations: 289.5 kB / 0.8413 GB, free: 0.668 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.2034, allocations: 203.2 kB / 0.8415 GB, free: 480 kB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.2039, allocations: 227.1 kB / 0.8417 GB, free: 252 kB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.2039, allocations: 28 kB / 0.8417 GB, free: 224 kB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004828/0.2044, allocations: 251.5 kB / 0.8419 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2045, allocations: 135.6 kB / 0.8421 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.2047, allocations: 171.2 kB / 0.8422 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.2054, allocations: 0.4981 MB / 0.8427 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2054, allocations: 0 / 0.8427 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2054, allocations: 0 / 0.8427 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.2054, allocations: 0 / 0.8427 GB, free: 15.17 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.001059/0.2065, allocations: 0.5713 MB / 0.8433 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2065, allocations: 17.28 kB / 0.8433 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008846/0.2074, allocations: 128.6 kB / 0.8434 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.2078, allocations: 237.9 kB / 0.8436 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.2078, allocations: 25.02 kB / 0.8437 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.2079, allocations: 28.38 kB / 0.8437 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.2086, allocations: 467.8 kB / 0.8441 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2086, allocations: 7.938 kB / 0.8442 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.2086, allocations: 16 kB / 0.8442 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/0.2087, allocations: 24.64 kB / 0.8442 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/0.2092, allocations: 322.3 kB / 0.8445 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.2116, allocations: 2.147 MB / 0.8466 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.212, allocations: 166.7 kB / 0.8468 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.2122, allocations: 96.8 kB / 0.8468 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.2122, allocations: 0 / 0.8468 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.2123, allocations: 34.56 kB / 0.8469 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.2123, allocations: 0 / 0.8469 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0006241/0.2129, allocations: 222.3 kB / 0.8471 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.2129, allocations: 55.66 kB / 0.8471 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.2133, allocations: 269.8 kB / 0.8474 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.2133, allocations: 25.7 kB / 0.8474 GB, free: 10 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.2134, allocations: 216.2 kB / 0.8476 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.2135, allocations: 43.64 kB / 0.8477 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.2135, allocations: 49.91 kB / 0.8477 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2137, allocations: 338.8 kB / 0.848 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2138, allocations: 60.44 kB / 0.8481 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.214, allocations: 144.7 kB / 0.8482 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.2142, allocations: 227 kB / 0.8485 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2142, allocations: 3.938 kB / 0.8485 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004224/0.2147, allocations: 265.3 kB / 0.8487 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2147, allocations: 8 kB / 0.8487 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2147, allocations: 7.938 kB / 0.8487 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.2149, allocations: 24.84 kB / 0.8488 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.2151, allocations: 51.91 kB / 0.8488 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.2162, allocations: 1.318 MB / 0.8501 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2164, allocations: 28 kB / 0.8501 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.2164, allocations: 16 kB / 0.8501 GB, free: 7.004 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.000177/0.2166, allocations: 170.3 kB / 0.8503 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.2166, allocations: 27.81 kB / 0.8503 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.2167, allocations: 29.7 kB / 0.8503 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2167, allocations: 4 kB / 0.8504 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2167, allocations: 0 / 0.8504 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2167, allocations: 64 / 0.8504 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/0.2176, allocations: 0.6705 MB / 0.851 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2176, allocations: 0 / 0.851 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.2177, allocations: 32.11 kB / 0.851 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.939e-05/0.2178, allocations: 28.78 kB / 0.8511 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.2178, allocations: 4 kB / 0.8511 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.2189, allocations: 1.319 MB / 0.8524 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2189, allocations: 4.031 kB / 0.8524 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.2193, allocations: 317.3 kB / 0.8527 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.2194, allocations: 39.73 kB / 0.8527 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.2194, allocations: 8 kB / 0.8527 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.2196, allocations: 8 kB / 0.8527 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.2196, allocations: 23.91 kB / 0.8527 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2196, allocations: 4 kB / 0.8527 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002002/0.2198, allocations: 193.1 kB / 0.8529 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2198, allocations: 0 / 0.8529 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004193/0.2203, allocations: 75.89 kB / 0.853 GB, free: 3.824 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.0001202/0.2204, allocations: 101.5 kB / 0.8531 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000482/0.2209, allocations: 266.4 kB / 0.8533 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2209, allocations: 96 / 0.8533 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.2211, allocations: 191.3 kB / 0.8535 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.2216, allocations: 59.41 kB / 0.8536 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000977/0.2225, allocations: 0.5922 MB / 0.8542 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.223, allocations: 0.7908 MB / 0.8549 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.223, allocations: 23.44 kB / 0.855 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.223, allocations: 0 / 0.855 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of Templates: time 0.007202/0.2302, allocations: 4.424 MB / 0.8593 GB, free: 13.29 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.300004763063043] Failed to read output from testmodel.py, exit status != 0: 0.2382017041090876 0.266066185 0.055213872000000004 Calling exit ...