Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.35/2.35, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4714/0.4725, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002791/0.4754, allocations: 2.144 MB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003597/0.479, allocations: 3.8 MB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.4791, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.4793, allocations: 55.56 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.4796, allocations: 131.1 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.4798, allocations: 151.6 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.4801, allocations: 310.8 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.4802, allocations: 60.7 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.4804, allocations: 131.5 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.4806, allocations: 151.3 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.4806, allocations: 20 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.4808, allocations: 135.8 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.4809, allocations: 63.69 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.481, allocations: 115.3 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.4813, allocations: 330.9 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.4813, allocations: 0 / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.173e-06/0.4813, allocations: 0 / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.4813, allocations: 0 / 1.025 GB, free: 10.9 MB / 0.7794 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.001069/0.4824, allocations: 0.6364 MB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.4825, allocations: 8.031 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.4825, allocations: 42.75 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008847/0.4834, allocations: 176.4 kB / 1.026 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006393/0.484, allocations: 324.2 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.4841, allocations: 12.31 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.4841, allocations: 12 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.4847, allocations: 222.4 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.4847, allocations: 0 / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.4847, allocations: 7.984 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.4848, allocations: 4 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009365/0.4857, allocations: 282.9 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.4868, allocations: 0.5784 MB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.4873, allocations: 170.4 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.4878, allocations: 152.7 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007443/0.4886, allocations: 0.5535 MB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.4886, allocations: 34.56 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/0.4886, allocations: 4 kB / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.001546/0.4902, allocations: 485 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.4902, allocations: 55.41 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.4904, allocations: 272.4 kB / 1.029 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4904, allocations: 29.7 kB / 1.029 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.4905, allocations: 155.9 kB / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.4906, allocations: 39.45 kB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.4907, allocations: 41.69 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4908, allocations: 334.8 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.4913, allocations: 147.9 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.4917, allocations: 147.8 kB / 1.03 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/0.4927, allocations: 285.9 kB / 1.03 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4927, allocations: 4 kB / 1.03 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00106/0.4938, allocations: 370.8 kB / 1.03 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.4938, allocations: 8 kB / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4938, allocations: 0 / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.4938, allocations: 0 / 1.03 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.4942, allocations: 71.86 kB / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.4942, allocations: 0 / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.4945, allocations: 51.72 kB / 1.03 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.4946, allocations: 4 kB / 1.03 GB, free: 4.918 MB / 0.7794 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 (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001128/0.4947, allocations: 135.4 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.4947, allocations: 27.66 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.4958, allocations: 376.6 kB / 1.031 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4959, allocations: 0 / 1.031 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.4959, allocations: 0 / 1.031 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4959, allocations: 7.938 kB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.4962, allocations: 309.3 kB / 1.031 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4962, allocations: 4 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.4965, allocations: 55.92 kB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4965, allocations: 0 / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.4966, allocations: 11.92 kB / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4966, allocations: 4 kB / 1.031 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4966, allocations: 3.938 kB / 1.031 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.4977, allocations: 450.9 kB / 1.032 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.4978, allocations: 116.8 kB / 1.032 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.4978, allocations: 8 kB / 1.032 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.4981, allocations: 31.95 kB / 1.032 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.4982, allocations: 19.91 kB / 1.032 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.4982, allocations: 8 kB / 1.032 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001403/0.4984, allocations: 187.1 kB / 1.032 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4984, allocations: 0 / 1.032 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002872/0.4987, allocations: 71.89 kB / 1.032 GB, free: 3.031 MB / 0.7794 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.00137/0.5, allocations: 1.024 MB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.5011, allocations: 327.7 kB / 1.033 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5011, allocations: 0 / 1.033 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.5016, allocations: 163.8 kB / 1.034 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.502, allocations: 42.11 kB / 1.034 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/0.5065, allocations: 2.887 MB / 1.036 GB, free: 14.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.5068, allocations: 0.7435 MB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002197/0.507, allocations: 45.39 kB / 1.037 GB, free: 13.69 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.5072, allocations: 75.39 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.5072, allocations: 4 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5871/1.094, allocations: 5.753 MB / 1.043 GB, free: 8.004 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/9.255, allocations: 15.45 kB / 1.043 GB, free: 7.992 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)