Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.001211/0.001211, allocations: 106 kB / 16.45 MB, free: 6.445 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.001218/0.001218, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.36/1.36, allocations: 225.6 MB / 247.8 MB, free: 3.734 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.002294/0.002294, allocations: 279.5 kB / 303 MB, free: 3.582 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.028/1.028, allocations: 180.9 MB / 0.5261 GB, free: 2.766 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: "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 95.84 kB / 0.7247 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4825, allocations: 94.16 MB / 0.8167 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.003807/0.4863, allocations: 3.111 MB / 0.8197 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.488, allocations: 1.344 MB / 0.821 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.4881, allocations: 4.938 kB / 0.8211 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008781/0.489, allocations: 336.4 kB / 0.8214 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.4893, allocations: 145.8 kB / 0.8215 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.4896, allocations: 133.5 kB / 0.8216 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.4899, allocations: 302.1 kB / 0.8219 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.4902, allocations: 193.6 kB / 0.8221 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.4903, allocations: 130.1 kB / 0.8222 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.4906, allocations: 143.5 kB / 0.8224 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.4906, allocations: 19.41 kB / 0.8224 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002242/0.4908, allocations: 173.6 kB / 0.8226 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.4909, allocations: 78.17 kB / 0.8226 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.602e-05/0.491, allocations: 114.5 kB / 0.8227 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.4914, allocations: 339.5 kB / 0.8231 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4914, allocations: 0 / 0.8231 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4914, allocations: 0 / 0.8231 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4914, allocations: 3.781 kB / 0.8231 GB, free: 3.172 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006303/0.492, allocations: 0.5149 MB / 0.8236 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.492, allocations: 12.02 kB / 0.8236 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.4921, allocations: 55.41 kB / 0.8236 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005321/0.4926, allocations: 81.55 kB / 0.8237 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.4929, allocations: 253.8 kB / 0.824 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.4929, allocations: 10.72 kB / 0.824 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.4929, allocations: 21.8 kB / 0.824 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.4933, allocations: 306.8 kB / 0.8243 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4933, allocations: 3.938 kB / 0.8243 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.4933, allocations: 10.66 kB / 0.8243 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.4933, allocations: 17.06 kB / 0.8243 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.4936, allocations: 193.2 kB / 0.8245 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.4947, allocations: 1.465 MB / 0.8259 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.4949, allocations: 169.3 kB / 0.8261 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.4949, allocations: 34.83 kB / 0.8261 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.4949, allocations: 160 / 0.8261 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.261e-05/0.4949, allocations: 37.95 kB / 0.8262 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.4949, allocations: 0 / 0.8262 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003853/0.4953, allocations: 230.1 kB / 0.8264 GB, free: 436 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.635e-05/0.4953, allocations: 51.41 kB / 0.8264 GB, free: 372 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.4955, allocations: 191.8 kB / 0.8266 GB, free: 244 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.4955, allocations: 30.83 kB / 0.8266 GB, free: 208 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.4956, allocations: 166.4 kB / 0.8268 GB, free: 60 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.4956, allocations: 27.61 kB / 0.8268 GB, free: 40 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.4956, allocations: 41.81 kB / 0.8269 GB, free: 4 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4958, allocations: 331.5 kB / 0.8272 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.4958, allocations: 35.03 kB / 0.8272 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.4959, allocations: 94.45 kB / 0.8273 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.4961, allocations: 149.1 kB / 0.8274 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4961, allocations: 3.844 kB / 0.8274 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002839/0.4964, allocations: 183.5 kB / 0.8276 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4964, allocations: 8.984 kB / 0.8276 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4964, allocations: 0 / 0.8276 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.4966, allocations: 35.67 kB / 0.8277 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.4966, allocations: 23.84 kB / 0.8277 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.4978, allocations: 1.426 MB / 0.8291 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.4979, allocations: 16.64 kB / 0.8291 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.4979, allocations: 6.125 kB / 0.8291 GB, free: 13.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.0001395/0.4981, allocations: 160.4 kB / 0.8293 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.4981, allocations: 17.94 kB / 0.8293 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.4981, allocations: 21.75 kB / 0.8293 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4981, allocations: 0 / 0.8293 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4981, allocations: 0.75 kB / 0.8293 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4981, allocations: 0 / 0.8293 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.4987, allocations: 449.3 kB / 0.8297 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4987, allocations: 0 / 0.8297 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.4987, allocations: 6.812 kB / 0.8297 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.197e-05/0.4988, allocations: 28.45 kB / 0.8298 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.4988, allocations: 0.5625 kB / 0.8298 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.4998, allocations: 1.417 MB / 0.8311 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4998, allocations: 0 / 0.8311 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.5001, allocations: 221.5 kB / 0.8313 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.704e-05/0.5002, allocations: 99.91 kB / 0.8314 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.5002, allocations: 0.7969 kB / 0.8314 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.5003, allocations: 12.72 kB / 0.8315 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.5003, allocations: 4.453 kB / 0.8315 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.5003, allocations: 1.312 kB / 0.8315 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001253/0.5004, allocations: 151 kB / 0.8316 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5004, allocations: 0 / 0.8316 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003107/0.5007, allocations: 49.58 kB / 0.8317 GB, free: 11.52 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.000535/0.5013, allocations: 0.7537 MB / 0.8324 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000339/0.5016, allocations: 202.8 kB / 0.8326 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5016, allocations: 0.5625 kB / 0.8326 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.5018, allocations: 148.9 kB / 0.8327 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.5021, allocations: 41.48 kB / 0.8328 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.5043, allocations: 2.053 MB / 0.8348 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.5047, allocations: 0.7527 MB / 0.8355 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.874e-05/0.5048, allocations: 23.92 kB / 0.8355 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.5048, allocations: 50.42 kB / 0.8356 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of SimCode: time 3.7e-07/0.5048, allocations: 2.562 kB / 0.8356 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.5337, allocations: 3.758 MB / 0.8392 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.284/9.818, allocations: 13.84 kB / 0.8393 GB, free: 7.535 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_Resistance.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.45751522295177] Failed to read output from testmodel.py, exit status != 0: 9.896548953838646 9.910090198 9.416082996 Calling exit ...