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.0008637/0.0008637, allocations: 72.5 kB / 19.93 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.0009616/0.0009616, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8513/0.8513, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001519/0.001519, allocations: 233.7 kB / 260.2 MB, free: 13.03 MB / 250.7 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 0.6693/0.6693, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6475 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.176e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.2371/0.2371, allocations: 3.738 MB / 0.6511 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2386, allocations: 1.68 MB / 0.6528 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.2388, allocations: 10.12 kB / 0.6528 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007038/0.2395, allocations: 496.4 kB / 0.6533 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.2398, allocations: 226.5 kB / 0.6535 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.24, allocations: 217.9 kB / 0.6537 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.2404, allocations: 490.4 kB / 0.6542 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.2407, allocations: 283.5 kB / 0.6544 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.2409, allocations: 276.9 kB / 0.6547 GB, free: 53.91 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.2412, allocations: 193.1 kB / 0.6549 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.2412, allocations: 28.38 kB / 0.6549 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.2414, allocations: 231.6 kB / 0.6551 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.94e-05/0.2415, allocations: 133.4 kB / 0.6553 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.2416, allocations: 121.7 kB / 0.6554 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004528/0.2421, allocations: 0.5115 MB / 0.6559 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2421, allocations: 0.9844 kB / 0.6559 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2421, allocations: 1.344 kB / 0.6559 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.403e-06/0.2421, allocations: 2.469 kB / 0.6559 GB, free: 53.5 MB / 0.5573 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.0006445/0.2427, allocations: 0.5621 MB / 0.6564 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2427, allocations: 11.06 kB / 0.6564 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/0.2432, allocations: 138 kB / 0.6566 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.2435, allocations: 235 kB / 0.6568 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2435, allocations: 25.11 kB / 0.6568 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.2435, allocations: 26.72 kB / 0.6568 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.244, allocations: 0.5742 MB / 0.6574 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.244, allocations: 13.94 kB / 0.6574 GB, free: 52.43 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.548e-05/0.244, allocations: 12.55 kB / 0.6574 GB, free: 52.43 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.244, allocations: 34.25 kB / 0.6575 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.2443, allocations: 317.8 kB / 0.6578 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009853/0.2453, allocations: 1.504 MB / 0.6592 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.2455, allocations: 165.5 kB / 0.6594 GB, free: 51.05 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2457, allocations: 95.8 kB / 0.6595 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.2457, allocations: 1.781 kB / 0.6595 GB, free: 51.02 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.2457, allocations: 43.64 kB / 0.6595 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.2457, allocations: 0 / 0.6595 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14): time 0.0003607/0.2461, allocations: 222.4 kB / 0.6597 GB, free: 50.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.2461, allocations: 57.53 kB / 0.6598 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2462, allocations: 237.1 kB / 0.66 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.2462, allocations: 28.5 kB / 0.66 GB, free: 50.63 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.2463, allocations: 207.9 kB / 0.6602 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.2463, allocations: 58.83 kB / 0.6603 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.2464, allocations: 50.44 kB / 0.6603 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.197e-05/0.2464, allocations: 329.3 kB / 0.6607 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.2465, allocations: 54.78 kB / 0.6607 GB, free: 50.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.081e-05/0.2465, allocations: 147.4 kB / 0.6609 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2467, allocations: 213.1 kB / 0.6611 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2467, allocations: 4.25 kB / 0.6611 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000253/0.247, allocations: 259.3 kB / 0.6613 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.247, allocations: 8.188 kB / 0.6613 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.247, allocations: 3.562 kB / 0.6613 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/0.2471, allocations: 25.44 kB / 0.6613 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.2472, allocations: 48.09 kB / 0.6614 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004872/0.2477, allocations: 1.301 MB / 0.6627 GB, free: 48.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.2478, allocations: 24.62 kB / 0.6627 GB, free: 48.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.2478, allocations: 8.062 kB / 0.6627 GB, free: 48.33 MB / 0.5573 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 8.893e-05/0.2479, allocations: 175.9 kB / 0.6629 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.2479, allocations: 23.92 kB / 0.6629 GB, free: 48.17 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.2479, allocations: 27.81 kB / 0.6629 GB, free: 48.15 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2479, allocations: 10.38 kB / 0.6629 GB, free: 48.14 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2479, allocations: 0 / 0.6629 GB, free: 48.14 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2479, allocations: 1.359 kB / 0.6629 GB, free: 48.14 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.2484, allocations: 0.5468 MB / 0.6635 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2484, allocations: 2.75 kB / 0.6635 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.2484, allocations: 29.31 kB / 0.6635 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.394e-05/0.2485, allocations: 25.39 kB / 0.6635 GB, free: 47.73 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2485, allocations: 6.75 kB / 0.6635 GB, free: 47.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003867/0.2489, allocations: 1.29 MB / 0.6648 GB, free: 46.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2489, allocations: 2.938 kB / 0.6648 GB, free: 46.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.2491, allocations: 317.6 kB / 0.6651 GB, free: 46.23 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.2491, allocations: 42.89 kB / 0.6651 GB, free: 46.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.2491, allocations: 9.141 kB / 0.6651 GB, free: 46.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.2492, allocations: 7.688 kB / 0.6651 GB, free: 46.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.2492, allocations: 14.5 kB / 0.6652 GB, free: 46.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.2492, allocations: 5.094 kB / 0.6652 GB, free: 46.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.598e-05/0.2493, allocations: 164.7 kB / 0.6653 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2493, allocations: 0 / 0.6653 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002367/0.2495, allocations: 76.06 kB / 0.6654 GB, free: 46.08 MB / 0.5573 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 7.57e-05/0.2496, allocations: 110.2 kB / 0.6655 GB, free: 45.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.2499, allocations: 259.4 kB / 0.6657 GB, free: 45.83 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2499, allocations: 2.344 kB / 0.6657 GB, free: 45.83 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.25, allocations: 182.2 kB / 0.6659 GB, free: 45.69 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.2503, allocations: 58.08 kB / 0.666 GB, free: 45.67 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.2508, allocations: 0.5761 MB / 0.6665 GB, free: 45.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.2509, allocations: 186.4 kB / 0.6667 GB, free: 45.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.251, allocations: 25.06 kB / 0.6667 GB, free: 45.17 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.251, allocations: 0 / 0.6667 GB, free: 45.17 MB / 0.5573 GB Notification: Performance of Templates: time 0.004385/0.2554, allocations: 4.351 MB / 0.671 GB, free: 44.89 MB / 0.5573 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: 5.551799069158733] Failed to read output from testmodel.py, exit status != 0: 0.26044463086873293 0.268187385 0.024446639000000003 Calling exit ...