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.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.001365/0.001365, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002339/0.002339, allocations: 218.1 kB / 22.26 MB, free: 5.125 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 8.012 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.00241/0.00241, allocations: 290.2 kB / 312.7 MB, free: 2.832 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.204/1.204, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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.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: 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.002913/0.002913, allocations: 103.9 kB / 0.7396 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1819, allocations: 95.38 MB / 0.8327 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.005322/0.1873, allocations: 3.187 MB / 0.8358 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1898, allocations: 1.414 MB / 0.8372 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.19, allocations: 7.938 kB / 0.8372 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.1912, allocations: 349.2 kB / 0.8376 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005434/0.1918, allocations: 139.3 kB / 0.8377 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.1923, allocations: 147.6 kB / 0.8378 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.1928, allocations: 307 kB / 0.8381 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000421/0.1932, allocations: 176.7 kB / 0.8383 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.1934, allocations: 135.5 kB / 0.8384 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.1937, allocations: 139.5 kB / 0.8385 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.1938, allocations: 20 kB / 0.8386 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.1941, allocations: 175.6 kB / 0.8387 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1942, allocations: 79.73 kB / 0.8388 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.1944, allocations: 115.5 kB / 0.8389 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.1949, allocations: 334.7 kB / 0.8392 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1949, allocations: 0 / 0.8392 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1949, allocations: 0 / 0.8392 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.1949, allocations: 0 / 0.8392 GB, free: 2.012 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.0008922/0.1958, allocations: 458.9 kB / 0.8397 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1958, allocations: 9.344 kB / 0.8397 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.851e-05/0.1959, allocations: 54.73 kB / 0.8397 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005812/0.1965, allocations: 84.72 kB / 0.8398 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.1968, allocations: 182.2 kB / 0.84 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.1968, allocations: 20.69 kB / 0.84 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.1968, allocations: 16.38 kB / 0.84 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.1973, allocations: 307.1 kB / 0.8403 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1973, allocations: 0 / 0.8403 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.1973, allocations: 8 kB / 0.8403 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.1974, allocations: 16.31 kB / 0.8403 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.1977, allocations: 196.9 kB / 0.8405 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.1994, allocations: 1.433 MB / 0.8419 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.1996, allocations: 90.61 kB / 0.842 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.239e-05/0.1996, allocations: 28.84 kB / 0.842 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.1996, allocations: 160 / 0.842 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.1997, allocations: 38.5 kB / 0.8421 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1997, allocations: 4 kB / 0.8421 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0004483/0.2001, allocations: 154.4 kB / 0.8422 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.2002, allocations: 51.41 kB / 0.8423 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.2004, allocations: 205.3 kB / 0.8425 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2004, allocations: 25.7 kB / 0.8425 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.2005, allocations: 164 kB / 0.8427 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.2005, allocations: 23.81 kB / 0.8427 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.2006, allocations: 37.7 kB / 0.8427 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2007, allocations: 330.8 kB / 0.843 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/0.2008, allocations: 39.86 kB / 0.8431 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.2009, allocations: 102.6 kB / 0.8432 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.2011, allocations: 148.4 kB / 0.8433 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2011, allocations: 0 / 0.8433 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000325/0.2014, allocations: 186.2 kB / 0.8435 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2015, allocations: 8 kB / 0.8435 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.2015, allocations: 8.062 kB / 0.8435 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.2016, allocations: 29.12 kB / 0.8435 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2018, allocations: 27.92 kB / 0.8436 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.2029, allocations: 1.322 MB / 0.8448 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.203, allocations: 19.84 kB / 0.8449 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.2031, allocations: 8 kB / 0.8449 GB, free: 11.74 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.0001478/0.2032, allocations: 146.4 kB / 0.845 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.2032, allocations: 12.05 kB / 0.845 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.2033, allocations: 25.42 kB / 0.8451 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2033, allocations: 4 kB / 0.8451 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.2033, allocations: 0 / 0.8451 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2033, allocations: 0 / 0.8451 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.2038, allocations: 422.2 kB / 0.8455 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2038, allocations: 3.938 kB / 0.8455 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.2039, allocations: 4 kB / 0.8455 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.845e-05/0.204, allocations: 28.84 kB / 0.8455 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.204, allocations: 0 / 0.8455 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.205, allocations: 1.323 MB / 0.8468 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.205, allocations: 4 kB / 0.8468 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.2053, allocations: 216.2 kB / 0.847 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.2053, allocations: 23.83 kB / 0.847 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.2054, allocations: 4 kB / 0.847 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2055, allocations: 4.094 kB / 0.847 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.2055, allocations: 11.98 kB / 0.847 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2055, allocations: 0 / 0.847 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001392/0.2056, allocations: 147.1 kB / 0.8472 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2056, allocations: 0 / 0.8472 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003333/0.206, allocations: 51.89 kB / 0.8472 GB, free: 9.133 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.000557/0.2065, allocations: 0.7444 MB / 0.848 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.2069, allocations: 202.5 kB / 0.8481 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2069, allocations: 0.5625 kB / 0.8481 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.2071, allocations: 146.7 kB / 0.8483 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.2074, allocations: 28.62 kB / 0.8483 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.2098, allocations: 2.055 MB / 0.8503 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.2102, allocations: 0.7515 MB / 0.8511 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000101/0.2103, allocations: 25.47 kB / 0.8511 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/0.2104, allocations: 55.41 kB / 0.8511 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.2104, allocations: 0 / 0.8511 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.245, allocations: 3.897 MB / 0.8549 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.09, allocations: 0.7031 kB / 0.8549 GB, free: 1.18 MB / 0.5919 GB " [Timeout remaining time 649] (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 os._exit(0), Time elapsed: 15.127001120941713] Failed to read output from testmodel.py, exit status != 0: 11.192717530066147 11.218947298 11.019211296 Calling exit ...