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.001376/0.001376, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.5 kB / 22.24 MB, free: 5.262 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.809 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.002556/0.002556, allocations: 294.1 kB / 312.7 MB, free: 2.617 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.218/1.218, allocations: 180.6 MB / 0.5369 GB, free: 14.46 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.004726/0.004726, allocations: 101.1 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1688, allocations: 95.39 MB / 0.8326 GB, free: 8.367 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.RCModel): time 0.006585/0.1753, allocations: 4.273 MB / 0.8368 GB, free: 4.074 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.003226/0.1786, allocations: 1.811 MB / 0.8386 GB, free: 2.254 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.1788, allocations: 11.94 kB / 0.8386 GB, free: 2.242 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.1805, allocations: 0.6032 MB / 0.8392 GB, free: 1.637 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0006317/0.1812, allocations: 262.6 kB / 0.8394 GB, free: 1.379 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.1818, allocations: 249.5 kB / 0.8397 GB, free: 1.137 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0007067/0.1825, allocations: 0.6151 MB / 0.8403 GB, free: 0.5195 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005845/0.1831, allocations: 335.2 kB / 0.8406 GB, free: 192 kB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.1834, allocations: 271.1 kB / 0.8408 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004806/0.1839, allocations: 259 kB / 0.8411 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.857e-05/0.184, allocations: 36 kB / 0.8411 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004108/0.1844, allocations: 231.4 kB / 0.8413 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.1846, allocations: 163.5 kB / 0.8415 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.1848, allocations: 175.2 kB / 0.8417 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.1855, allocations: 0.6149 MB / 0.8423 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1855, allocations: 4 kB / 0.8423 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1855, allocations: 0 / 0.8423 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.1855, allocations: 3.938 kB / 0.8423 GB, free: 14.45 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.001318/0.1868, allocations: 0.6609 MB / 0.8429 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1869, allocations: 13.94 kB / 0.8429 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.676e-05/0.187, allocations: 74.72 kB / 0.843 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009771/0.1879, allocations: 152.5 kB / 0.8432 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.1885, allocations: 272.9 kB / 0.8434 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.1885, allocations: 25.38 kB / 0.8434 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.1886, allocations: 32.36 kB / 0.8435 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009303/0.1895, allocations: 0.6861 MB / 0.8441 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.1895, allocations: 3.938 kB / 0.8441 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.1896, allocations: 19.98 kB / 0.8442 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.161e-05/0.1896, allocations: 32.62 kB / 0.8442 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006482/0.1903, allocations: 386.3 kB / 0.8446 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.1927, allocations: 1.738 MB / 0.8463 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.1933, allocations: 234.5 kB / 0.8465 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.1934, allocations: 103.2 kB / 0.8466 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.1935, allocations: 4 kB / 0.8466 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1935, allocations: 34.56 kB / 0.8466 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=20): time 2.215e-06/0.1935, allocations: 4 kB / 0.8466 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002158/0.1957, allocations: 0.9026 MB / 0.8475 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1957, allocations: 51.41 kB / 0.8475 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.196, allocations: 316.3 kB / 0.8479 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1961, allocations: 29.7 kB / 0.8479 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1962, allocations: 228.2 kB / 0.8481 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/0.1963, allocations: 91.25 kB / 0.8482 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.1964, allocations: 65.98 kB / 0.8482 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1966, allocations: 338.8 kB / 0.8486 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.1967, allocations: 104.6 kB / 0.8487 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.197, allocations: 192.4 kB / 0.8489 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.1974, allocations: 320.1 kB / 0.8492 GB, free: 7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1974, allocations: 0 / 0.8492 GB, free: 7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008042/0.1982, allocations: 442 kB / 0.8496 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1983, allocations: 8 kB / 0.8496 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1983, allocations: 4 kB / 0.8496 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/0.1986, allocations: 102.4 kB / 0.8497 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1989, allocations: 64.09 kB / 0.8497 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/0.2024, allocations: 4.073 MB / 0.8537 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.2027, allocations: 8 kB / 0.8537 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.2027, allocations: 19.98 kB / 0.8538 GB, free: 1.926 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.0002129/0.2029, allocations: 173.8 kB / 0.8539 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.203, allocations: 35.75 kB / 0.854 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.638e-05/0.2031, allocations: 46.47 kB / 0.854 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2031, allocations: 4 kB / 0.854 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2031, allocations: 0 / 0.854 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2031, allocations: 0 / 0.854 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.2035, allocations: 336.6 kB / 0.8543 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2035, allocations: 3.938 kB / 0.8543 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.2037, allocations: 39.91 kB / 0.8544 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/0.2041, allocations: 98.53 kB / 0.8545 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.2041, allocations: 4 kB / 0.8545 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/0.2075, allocations: 4.055 MB / 0.8584 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2075, allocations: 3.938 kB / 0.8584 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009094/0.2085, allocations: 0.5617 MB / 0.859 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.2086, allocations: 52.09 kB / 0.859 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.2086, allocations: 8 kB / 0.859 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.2089, allocations: 8 kB / 0.859 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.2089, allocations: 23.95 kB / 0.8591 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.2089, allocations: 4 kB / 0.8591 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002373/0.2092, allocations: 215 kB / 0.8593 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2092, allocations: 0 / 0.8593 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004568/0.2096, allocations: 96 kB / 0.8594 GB, free: 11.75 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.001194/0.2108, allocations: 1.1 MB / 0.8604 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000906/0.2117, allocations: 0.5977 MB / 0.861 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.2117, allocations: 0 / 0.861 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.2123, allocations: 456.5 kB / 0.8615 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.2128, allocations: 95.09 kB / 0.8615 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/0.2173, allocations: 3.368 MB / 0.8648 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2176, allocations: 228.7 kB / 0.8651 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002182/0.2178, allocations: 58.92 kB / 0.8651 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.218, allocations: 111.4 kB / 0.8652 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.218, allocations: 0 / 0.8652 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.2623, allocations: 8.767 MB / 0.8738 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.71, allocations: 10.17 kB / 0.8738 GB, free: 12.94 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.71595509396866] Failed to read output from testmodel.py, exit status != 0: 11.825592909939587 11.840662253 11.651993374 Calling exit ...