Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.000849/0.000849, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0008878/0.0008878, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9324/0.9324, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.881/1.881, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.712e-05, allocations: 5.797 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003627/0.003654, allocations: 2.114 MB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003632/0.007286, allocations: 3.919 MB / 1.007 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.007388, allocations: 4 kB / 1.007 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007346/0.008123, allocations: 181.6 kB / 1.007 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.00823, allocations: 87.22 kB / 1.007 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.008707, allocations: 339 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004829/0.00919, allocations: 462.5 kB / 1.008 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.009296, allocations: 32.86 kB / 1.008 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.009466, allocations: 195.5 kB / 1.008 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.009598, allocations: 131.6 kB / 1.008 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.009626, allocations: 20 kB / 1.008 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.009967, allocations: 327.4 kB / 1.008 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.01006, allocations: 115.6 kB / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.667e-05/0.01015, allocations: 107.7 kB / 1.008 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.01066, allocations: 0.6348 MB / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01066, allocations: 0 / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.863e-06/0.01066, allocations: 0 / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.01067, allocations: 4 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001084/0.01176, allocations: 0.7469 MB / 1.01 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/0.01182, allocations: 9.344 kB / 1.01 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.023e-05/0.01187, allocations: 42.73 kB / 1.01 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/0.01285, allocations: 316.3 kB / 1.01 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.01344, allocations: 344 kB / 1.01 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.01345, allocations: 12.56 kB / 1.011 GB, free: 3.309 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.01348, allocations: 16.31 kB / 1.011 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.01389, allocations: 265.5 kB / 1.011 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.0139, allocations: 0 / 1.011 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.01392, allocations: 8 kB / 1.011 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.01393, allocations: 3.984 kB / 1.011 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005683/0.0145, allocations: 347.6 kB / 1.011 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.01541, allocations: 0.6399 MB / 1.012 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.01575, allocations: 214.4 kB / 1.012 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.01603, allocations: 176.7 kB / 1.012 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.01608, allocations: 19.98 kB / 1.012 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.0161, allocations: 34.56 kB / 1.012 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.0161, allocations: 4 kB / 1.012 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.001018/0.01712, allocations: 0.5944 MB / 1.013 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.01714, allocations: 55.41 kB / 1.013 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.01745, allocations: 449.8 kB / 1.013 GB, free: 424 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.01748, allocations: 33.7 kB / 1.013 GB, free: 384 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.01758, allocations: 192.5 kB / 1.013 GB, free: 188 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.01761, allocations: 47.58 kB / 1.013 GB, free: 140 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.01768, allocations: 53.69 kB / 1.014 GB, free: 80 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.01779, allocations: 354.7 kB / 1.014 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.01817, allocations: 341.7 kB / 1.014 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.01853, allocations: 346 kB / 1.015 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.01918, allocations: 0.5385 MB / 1.015 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01919, allocations: 0 / 1.015 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008249/0.02001, allocations: 0.7829 MB / 1.016 GB, free: 13.69 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.02005, allocations: 41.69 kB / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.02005, allocations: 0 / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.02007, allocations: 4 kB / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.02031, allocations: 71.91 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.02031, allocations: 4 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.02048, allocations: 47.8 kB / 1.016 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.0205, allocations: 11.98 kB / 1.016 GB, free: 13.51 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.02062, allocations: 165.7 kB / 1.016 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.02066, allocations: 43.72 kB / 1.016 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007062/0.02137, allocations: 464.8 kB / 1.017 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.02137, allocations: 3.984 kB / 1.017 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.02137, allocations: 0 / 1.017 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.02138, allocations: 4 kB / 1.017 GB, free: 12.83 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.02164, allocations: 324.3 kB / 1.017 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.02164, allocations: 0 / 1.017 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.02183, allocations: 67.86 kB / 1.017 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.02183, allocations: 3.984 kB / 1.017 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.02185, allocations: 3.938 kB / 1.017 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.02185, allocations: 0 / 1.017 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02185, allocations: 4 kB / 1.017 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000668/0.02252, allocations: 0.5184 MB / 1.018 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.02261, allocations: 63.67 kB / 1.018 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.02264, allocations: 4 kB / 1.018 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.02281, allocations: 31.95 kB / 1.018 GB, free: 11.76 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.02287, allocations: 15.97 kB / 1.018 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.02288, allocations: 7.984 kB / 1.018 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002064/0.02309, allocations: 311.1 kB / 1.018 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.02309, allocations: 4 kB / 1.018 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003237/0.02341, allocations: 131.8 kB / 1.018 GB, free: 11.3 MB / 0.9792 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 (13): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001184/0.0246, allocations: 1.137 MB / 1.019 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008235/0.02542, allocations: 0.6432 MB / 1.02 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.02542, allocations: 0 / 1.02 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.02571, allocations: 196.3 kB / 1.02 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.02604, allocations: 60.62 kB / 1.02 GB, free: 9.227 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.0307, allocations: 5.48 MB / 1.025 GB, free: 3.629 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.03082, allocations: 195.4 kB / 1.026 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001818/0.03101, allocations: 69.91 kB / 1.026 GB, free: 3.348 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.03115, allocations: 120.5 kB / 1.026 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of SimCode: time 5.82e-07/0.03115, allocations: 0 / 1.026 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0818/0.113, allocations: 10.43 MB / 1.036 GB, free: 9.031 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.619, allocations: 13.98 kB / 1.036 GB, free: 9.023 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 ../Buildings_13_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu) > Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.801471919752657]