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.001284/0.001284, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001294/0.001294, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.434/1.434, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.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.002532/0.002532, allocations: 279.6 kB / 303.6 MB, free: 3.715 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.055/1.055, allocations: 180.9 MB / 0.5268 GB, free: 2.684 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.003141/0.003141, allocations: 103.8 kB / 0.7259 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6012/0.6043, allocations: 94.15 MB / 0.8178 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.004904/0.6092, allocations: 3.881 MB / 0.8216 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.6117, allocations: 1.753 MB / 0.8233 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.6118, allocations: 5.5 kB / 0.8233 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.6131, allocations: 0.4925 MB / 0.8238 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.6136, allocations: 223.9 kB / 0.824 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.6141, allocations: 209.2 kB / 0.8242 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004717/0.6146, allocations: 478.1 kB / 0.8247 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004812/0.615, allocations: 291.4 kB / 0.825 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.6152, allocations: 201.1 kB / 0.8252 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.6156, allocations: 225.2 kB / 0.8254 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.94e-05/0.6157, allocations: 27.06 kB / 0.8254 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.6161, allocations: 255.8 kB / 0.8256 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.6163, allocations: 129.9 kB / 0.8258 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.6164, allocations: 177.7 kB / 0.8259 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006293/0.617, allocations: 0.5024 MB / 0.8264 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.617, allocations: 2.844 kB / 0.8264 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6171, allocations: 0 / 0.8264 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.6171, allocations: 0 / 0.8264 GB, free: 2.145 MB / 0.5762 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.0008878/0.618, allocations: 0.6387 MB / 0.8271 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.618, allocations: 9.781 kB / 0.8271 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008977/0.6189, allocations: 138 kB / 0.8272 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.6192, allocations: 296.1 kB / 0.8275 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.6193, allocations: 19.91 kB / 0.8275 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.6193, allocations: 36.45 kB / 0.8275 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.6199, allocations: 464.3 kB / 0.828 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.62, allocations: 0 / 0.828 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.62, allocations: 21.84 kB / 0.828 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.62, allocations: 31 kB / 0.828 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.6205, allocations: 320.2 kB / 0.8283 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.6227, allocations: 2.185 MB / 0.8305 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.6231, allocations: 237.1 kB / 0.8307 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.6234, allocations: 98.48 kB / 0.8308 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.6234, allocations: 3.234 kB / 0.8308 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.6234, allocations: 34.02 kB / 0.8308 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.6234, allocations: 0 / 0.8308 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.00065/0.6241, allocations: 301.2 kB / 0.8311 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.6241, allocations: 55.19 kB / 0.8312 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.6244, allocations: 278.6 kB / 0.8314 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.6245, allocations: 28.36 kB / 0.8315 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.6246, allocations: 204.3 kB / 0.8317 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.6247, allocations: 53.81 kB / 0.8317 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.6248, allocations: 52.2 kB / 0.8318 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.6249, allocations: 335.8 kB / 0.8321 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.625, allocations: 59.38 kB / 0.8321 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.6252, allocations: 140.1 kB / 0.8323 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.6255, allocations: 225.5 kB / 0.8325 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6255, allocations: 0 / 0.8325 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000451/0.6259, allocations: 262.8 kB / 0.8327 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.6259, allocations: 10.91 kB / 0.8327 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6259, allocations: 3.094 kB / 0.8327 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/0.6261, allocations: 23.08 kB / 0.8328 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.6263, allocations: 51.42 kB / 0.8328 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.6276, allocations: 1.433 MB / 0.8342 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.6278, allocations: 29.2 kB / 0.8342 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.6278, allocations: 10.12 kB / 0.8343 GB, free: 11.81 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.000172/0.628, allocations: 171.1 kB / 0.8344 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.628, allocations: 27.3 kB / 0.8344 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.6281, allocations: 30.83 kB / 0.8345 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6281, allocations: 0 / 0.8345 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6281, allocations: 0 / 0.8345 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6281, allocations: 0.75 kB / 0.8345 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.629, allocations: 0.7074 MB / 0.8352 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.629, allocations: 3.531 kB / 0.8352 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.458e-05/0.6291, allocations: 20.56 kB / 0.8352 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-05/0.6292, allocations: 31.75 kB / 0.8352 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.6292, allocations: 10.41 kB / 0.8352 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.6304, allocations: 1.414 MB / 0.8366 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6304, allocations: 0 / 0.8366 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.6308, allocations: 312.7 kB / 0.8369 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.6309, allocations: 120.2 kB / 0.837 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.6309, allocations: 3.375 kB / 0.837 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.6311, allocations: 11.97 kB / 0.837 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.6311, allocations: 27.02 kB / 0.8371 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.6311, allocations: 9.188 kB / 0.8371 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002093/0.6313, allocations: 192.8 kB / 0.8373 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6313, allocations: 0 / 0.8373 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003912/0.6317, allocations: 73.88 kB / 0.8373 GB, free: 9.125 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.0001385/0.6319, allocations: 105.3 kB / 0.8374 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004887/0.6324, allocations: 273.8 kB / 0.8377 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.6324, allocations: 0 / 0.8377 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.6326, allocations: 178.7 kB / 0.8379 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.6331, allocations: 67.91 kB / 0.8379 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.6341, allocations: 0.5806 MB / 0.8385 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/0.6347, allocations: 0.794 MB / 0.8393 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.6348, allocations: 21.66 kB / 0.8393 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.6348, allocations: 4 kB / 0.8393 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of Templates: time 0.009323/0.6441, allocations: 4.425 MB / 0.8436 GB, free: 7.215 MB / 0.5919 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: 9.743753476068377] Failed to read output from testmodel.py, exit status != 0: 0.6528824439737946 0.665850815 0.045921645000000004 Calling exit ...