Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.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.00126/0.00126, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00148/0.00148, allocations: 212.1 kB / 22.25 MB, free: 5.117 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.434/1.434, allocations: 230.6 MB / 256 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.002409/0.002409, allocations: 292.9 kB / 312.7 MB, free: 2.82 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.19/1.19, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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: "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) [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.002969/0.002969, allocations: 99.64 kB / 0.7396 GB, free: 28.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1784, allocations: 95.38 MB / 0.8327 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.007126/0.1856, allocations: 4.536 MB / 0.8371 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003698/0.1893, allocations: 1.951 MB / 0.839 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003407/0.1896, allocations: 15.94 kB / 0.8391 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.1915, allocations: 0.6199 MB / 0.8397 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008338/0.1924, allocations: 254.6 kB / 0.8399 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.1932, allocations: 260 kB / 0.8402 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009405/0.1941, allocations: 0.615 MB / 0.8408 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007151/0.1948, allocations: 347.2 kB / 0.8411 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.1953, allocations: 259.1 kB / 0.8413 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006809/0.1959, allocations: 278.9 kB / 0.8416 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.1961, allocations: 40 kB / 0.8416 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005512/0.1966, allocations: 255.5 kB / 0.8419 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.1968, allocations: 159.5 kB / 0.842 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.1971, allocations: 218.9 kB / 0.8422 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008916/0.198, allocations: 0.611 MB / 0.8428 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.198, allocations: 0 / 0.8428 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.173e-06/0.198, allocations: 0 / 0.8428 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.198, allocations: 4 kB / 0.8428 GB, free: 14.39 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001466/0.1995, allocations: 0.6532 MB / 0.8435 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1995, allocations: 13.34 kB / 0.8435 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.1996, allocations: 74.7 kB / 0.8436 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.2007, allocations: 152.5 kB / 0.8437 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.2013, allocations: 276.8 kB / 0.844 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.2013, allocations: 29.38 kB / 0.844 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.2014, allocations: 32.38 kB / 0.844 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008582/0.2022, allocations: 0.5315 MB / 0.8446 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2022, allocations: 3.984 kB / 0.8446 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.2023, allocations: 27.97 kB / 0.8446 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.2023, allocations: 28.64 kB / 0.8446 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.203, allocations: 390.2 kB / 0.845 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.206, allocations: 2.36 MB / 0.8473 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.2065, allocations: 256.3 kB / 0.8475 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.2067, allocations: 101.5 kB / 0.8476 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2067, allocations: 0 / 0.8476 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.2067, allocations: 34.56 kB / 0.8477 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 1.102e-06/0.2067, allocations: 0 / 0.8477 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002231/0.209, allocations: 0.8956 MB / 0.8485 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.209, allocations: 55.41 kB / 0.8486 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.2094, allocations: 308.4 kB / 0.8489 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.2094, allocations: 33.64 kB / 0.8489 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.2096, allocations: 232.2 kB / 0.8491 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.052e-05/0.2096, allocations: 91.2 kB / 0.8492 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.2098, allocations: 66.03 kB / 0.8493 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2099, allocations: 338.8 kB / 0.8496 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.2101, allocations: 104.6 kB / 0.8497 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.2103, allocations: 196.3 kB / 0.8499 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.2108, allocations: 313.3 kB / 0.8502 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2108, allocations: 4 kB / 0.8502 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007983/0.2116, allocations: 443.2 kB / 0.8506 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2116, allocations: 4 kB / 0.8506 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2116, allocations: 7.984 kB / 0.8506 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/0.212, allocations: 98.69 kB / 0.8507 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.2123, allocations: 59.91 kB / 0.8508 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.2159, allocations: 4.094 MB / 0.8548 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.2161, allocations: 15.98 kB / 0.8548 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.2161, allocations: 12 kB / 0.8548 GB, free: 1.281 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.2164, allocations: 181.8 kB / 0.855 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.2164, allocations: 35.75 kB / 0.855 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.386e-05/0.2165, allocations: 38.41 kB / 0.8551 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2165, allocations: 4 kB / 0.8551 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.2166, allocations: 0 / 0.8551 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2166, allocations: 0 / 0.8551 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.2171, allocations: 368.5 kB / 0.8554 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.2171, allocations: 7.938 kB / 0.8554 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.2173, allocations: 39.91 kB / 0.8555 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/0.2177, allocations: 94.53 kB / 0.8555 GB, free: 472 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.2177, allocations: 4 kB / 0.8556 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003706/0.2214, allocations: 4.074 MB / 0.8595 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.2214, allocations: 8 kB / 0.8595 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.2223, allocations: 0.5587 MB / 0.8601 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.2224, allocations: 47.81 kB / 0.8601 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.2225, allocations: 4 kB / 0.8601 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2227, allocations: 16.06 kB / 0.8601 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.2227, allocations: 15.95 kB / 0.8602 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.2227, allocations: 12 kB / 0.8602 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002254/0.223, allocations: 207 kB / 0.8604 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.223, allocations: 0 / 0.8604 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004521/0.2234, allocations: 100 kB / 0.8605 GB, free: 11.05 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/0.2246, allocations: 1.104 MB / 0.8615 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009208/0.2256, allocations: 0.5897 MB / 0.8621 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2256, allocations: 3.938 kB / 0.8621 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005427/0.2261, allocations: 472.5 kB / 0.8626 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.2266, allocations: 76.03 kB / 0.8626 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/0.2313, allocations: 3.381 MB / 0.8659 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.2318, allocations: 0.8311 MB / 0.8668 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001996/0.232, allocations: 62.92 kB / 0.8668 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.2322, allocations: 115.4 kB / 0.8669 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of SimCode: time 9.11e-07/0.2322, allocations: 0 / 0.8669 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04909/0.2813, allocations: 8.108 MB / 0.8748 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.52, allocations: 19.98 kB / 0.8749 GB, free: 12.2 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_RCModel.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.522716173902154] Failed to read output from testmodel.py, exit status != 0: 11.629015353042632 11.645199827 11.444024233 Calling exit ...