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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 101.1 kB / 16.4 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001435, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002558/0.002559, allocations: 288.8 kB / 297.5 MB, free: 12.36 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.251/1.251, allocations: 178.6 MB / 0.5159 GB, free: 12.36 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00284/0.00284, allocations: 99.84 kB / 0.7052 GB, free: 11.68 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5068, allocations: 89.13 MB / 0.7923 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.004889/0.5117, allocations: 3.825 MB / 0.796 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00283/0.5146, allocations: 1.729 MB / 0.7977 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.5148, allocations: 10.75 kB / 0.7977 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.5162, allocations: 499.1 kB / 0.7982 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005095/0.5167, allocations: 220.1 kB / 0.7984 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005303/0.5172, allocations: 212.5 kB / 0.7986 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005335/0.5178, allocations: 473.2 kB / 0.799 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005569/0.5183, allocations: 360.8 kB / 0.7994 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.5186, allocations: 199.8 kB / 0.7996 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.5189, allocations: 218.8 kB / 0.7998 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.128e-05/0.519, allocations: 28.69 kB / 0.7998 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.5194, allocations: 251.4 kB / 0.8001 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.5196, allocations: 122.1 kB / 0.8002 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.5198, allocations: 175.7 kB / 0.8003 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006441/0.5204, allocations: 0.5059 MB / 0.8008 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5204, allocations: 1.219 kB / 0.8008 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5205, allocations: 0 / 0.8008 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.5205, allocations: 0 / 0.8008 GB, free: 11.75 MB / 0.5606 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.001032/0.5215, allocations: 0.6415 MB / 0.8015 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.5215, allocations: 8.969 kB / 0.8015 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008928/0.5224, allocations: 134 kB / 0.8016 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004046/0.5229, allocations: 306.1 kB / 0.8019 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.5229, allocations: 23.72 kB / 0.8019 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.5229, allocations: 27.59 kB / 0.8019 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.5236, allocations: 465.7 kB / 0.8024 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5236, allocations: 1.25 kB / 0.8024 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.5237, allocations: 11.31 kB / 0.8024 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.5237, allocations: 30.42 kB / 0.8024 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.5242, allocations: 317.6 kB / 0.8027 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.5266, allocations: 2.189 MB / 0.8049 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.527, allocations: 246.3 kB / 0.8051 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.5272, allocations: 112.9 kB / 0.8052 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.5272, allocations: 5.312 kB / 0.8052 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.5273, allocations: 33.28 kB / 0.8052 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.5273, allocations: 0 / 0.8052 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.000611/0.5279, allocations: 301.8 kB / 0.8055 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.5279, allocations: 57.34 kB / 0.8056 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.5282, allocations: 274.5 kB / 0.8058 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.5283, allocations: 27.02 kB / 0.8059 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.5284, allocations: 205.1 kB / 0.8061 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.5285, allocations: 54.8 kB / 0.8061 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.5286, allocations: 55.77 kB / 0.8062 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.5288, allocations: 337.2 kB / 0.8065 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-05/0.5289, allocations: 53.31 kB / 0.8065 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.5291, allocations: 148 kB / 0.8067 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.5293, allocations: 224.5 kB / 0.8069 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5294, allocations: 1.375 kB / 0.8069 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004087/0.5298, allocations: 259 kB / 0.8072 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5298, allocations: 9.844 kB / 0.8072 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5298, allocations: 2.75 kB / 0.8072 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.53, allocations: 31.05 kB / 0.8072 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.5302, allocations: 62.3 kB / 0.8073 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.5314, allocations: 1.423 MB / 0.8086 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.5315, allocations: 28.03 kB / 0.8087 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.5316, allocations: 8.25 kB / 0.8087 GB, free: 4.773 MB / 0.5606 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.0001735/0.5317, allocations: 169.1 kB / 0.8088 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.5318, allocations: 23.98 kB / 0.8089 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.5318, allocations: 28.14 kB / 0.8089 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5319, allocations: 2.312 kB / 0.8089 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5319, allocations: 5 kB / 0.8089 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5319, allocations: 0 / 0.8089 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009537/0.5328, allocations: 0.7023 MB / 0.8096 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.5328, allocations: 1.094 kB / 0.8096 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.5329, allocations: 26.17 kB / 0.8096 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-05/0.533, allocations: 29.38 kB / 0.8096 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.533, allocations: 2.438 kB / 0.8096 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.5342, allocations: 1.415 MB / 0.811 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5342, allocations: 1.312 kB / 0.811 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.5346, allocations: 313.4 kB / 0.8113 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.5347, allocations: 125.4 kB / 0.8114 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.5348, allocations: 7.281 kB / 0.8114 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.5349, allocations: 10.56 kB / 0.8115 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.535, allocations: 17.48 kB / 0.8115 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.535, allocations: 5.281 kB / 0.8115 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001984/0.5352, allocations: 191.9 kB / 0.8117 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5352, allocations: 0 / 0.8117 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004129/0.5356, allocations: 80.88 kB / 0.8117 GB, free: 1.914 MB / 0.5606 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.0001316/0.5357, allocations: 104.3 kB / 0.8118 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.5362, allocations: 286.2 kB / 0.8121 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5363, allocations: 0.75 kB / 0.8121 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.5365, allocations: 180.9 kB / 0.8123 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.537, allocations: 57.45 kB / 0.8123 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00087/0.5379, allocations: 0.5472 MB / 0.8129 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.5383, allocations: 0.7994 MB / 0.8137 GB, free: 284 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.5385, allocations: 40.64 kB / 0.8137 GB, free: 268 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.5385, allocations: 24.25 kB / 0.8137 GB, free: 256 kB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.5385, allocations: 0 / 0.8137 GB, free: 256 kB / 0.5606 GB Notification: Performance of Templates: time 0.006518/0.545, allocations: 2.741 MB / 0.8164 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 659] 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: 6.194633820094168]