Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",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.001078/0.001078, 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.001144/0.001144, allocations: 194.6 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7484/0.7484, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.001431, allocations: 64.62 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3686, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1836/0.5522, allocations: 166.8 MB / 0.7431 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.5726, allocations: 16.83 MB / 0.7595 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.5737, allocations: 31.81 kB / 0.7596 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.5751, allocations: 0.5079 MB / 0.76 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003779/0.579, allocations: 1.468 MB / 0.7615 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.5818, allocations: 1.268 MB / 0.7627 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002385/0.5842, allocations: 2.354 MB / 0.765 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.5865, allocations: 1.896 MB / 0.7669 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003141/0.5896, allocations: 1.259 MB / 0.7681 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.5908, allocations: 0.9062 MB / 0.769 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003895/0.5912, allocations: 192 kB / 0.7692 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.5937, allocations: 1.38 MB / 0.7705 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004932/0.5942, allocations: 0.5219 MB / 0.771 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.5953, allocations: 0.9445 MB / 0.7719 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.5987, allocations: 2.859 MB / 0.7747 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5987, allocations: 3.938 kB / 0.7747 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5988, allocations: 4 kB / 0.7747 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.44e-05/0.5988, allocations: 0 / 0.7747 GB, free: 9.668 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003308/0.6021, allocations: 2.161 MB / 0.7769 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.6022, allocations: 16.03 kB / 0.7769 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002312/0.6024, allocations: 240.6 kB / 0.7771 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/0.6057, allocations: 0.4973 MB / 0.7776 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.6071, allocations: 1.047 MB / 0.7786 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.6072, allocations: 131.2 kB / 0.7787 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.6074, allocations: 160 kB / 0.7789 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.61, allocations: 1.772 MB / 0.7806 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.6101, allocations: 0 / 0.7806 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.6102, allocations: 76 kB / 0.7807 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.6103, allocations: 40 kB / 0.7807 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/0.6131, allocations: 1.823 MB / 0.7825 GB, free: 1.547 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006671/0.6198, allocations: 5.043 MB / 0.7874 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.6223, allocations: 1.67 MB / 0.7891 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009954/0.6233, allocations: 0.628 MB / 0.7897 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007604/0.6241, allocations: 0.8078 MB / 0.7905 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/0.6254, allocations: 0.81 MB / 0.7913 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 2.615e-06/0.6254, allocations: 4 kB / 0.7913 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.005445/0.6309, allocations: 2.423 MB / 0.7936 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.631, allocations: 193.2 kB / 0.7938 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009045/0.6319, allocations: 0.7906 MB / 0.7946 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.632, allocations: 61.69 kB / 0.7946 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.6324, allocations: 0.6289 MB / 0.7953 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.6327, allocations: 457.2 kB / 0.7957 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/0.6331, allocations: 222.8 kB / 0.7959 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.6332, allocations: 349.9 kB / 0.7962 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/0.634, allocations: 446.4 kB / 0.7967 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009844/0.635, allocations: 0.5989 MB / 0.7972 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.6369, allocations: 1.036 MB / 0.7983 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.6369, allocations: 4 kB / 0.7983 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00306/0.6399, allocations: 1.421 MB / 0.7997 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.64, allocations: 7.984 kB / 0.7997 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.64, allocations: 0 / 0.7997 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008186/0.6408, allocations: 196.2 kB / 0.7998 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.6422, allocations: 307.6 kB / 0.8001 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005787/0.648, allocations: 7.279 MB / 0.8072 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.6495, allocations: 142.8 kB / 0.8074 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002979/0.6499, allocations: 47.95 kB / 0.8074 GB, free: 6.512 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001325/0.6512, allocations: 371 kB / 0.8078 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006436/0.6518, allocations: 118.6 kB / 0.8079 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/0.6561, allocations: 1.748 MB / 0.8096 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.6561, allocations: 16 kB / 0.8096 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.6562, allocations: 0 / 0.8096 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.6562, allocations: 7.969 kB / 0.8096 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005976/0.6622, allocations: 3.272 MB / 0.8128 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6622, allocations: 0 / 0.8128 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.6636, allocations: 311.6 kB / 0.8131 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007521/0.6644, allocations: 176.2 kB / 0.8133 GB, free: 396 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.6645, allocations: 39.97 kB / 0.8133 GB, free: 356 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2324/0.8969, allocations: 7.314 MB / 0.8205 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.897, allocations: 0 / 0.8205 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/0.9002, allocations: 1.613 MB / 0.822 GB, free: 210 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/0.9008, allocations: 380.6 kB / 0.8224 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.9009, allocations: 26.66 kB / 0.8224 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009728/0.9019, allocations: 95.59 kB / 0.8225 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.9021, allocations: 103 kB / 0.8226 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.9022, allocations: 64.33 kB / 0.8227 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006661/0.9029, allocations: 0.5513 MB / 0.8232 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9029, allocations: 4.812 kB / 0.8232 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001287/0.9042, allocations: 0.5516 MB / 0.8238 GB, free: 209.5 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004603/0.9088, allocations: 2.765 MB / 0.8265 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004305/0.9131, allocations: 2.165 MB / 0.8286 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.9132, allocations: 6.469 kB / 0.8286 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.9147, allocations: 1.26 MB / 0.8298 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.9167, allocations: 0.4963 MB / 0.8303 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/0.932, allocations: 10.07 MB / 0.8401 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.9327, allocations: 1.278 MB / 0.8414 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001606/0.9343, allocations: 412.8 kB / 0.8418 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006741/0.935, allocations: 0.6219 MB / 0.8424 GB, free: 199.8 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/0.935, allocations: 0 / 0.8424 GB, free: 199.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3893/1.324, allocations: 34.95 MB / 0.8765 GB, free: 171.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.91, allocations: 11.47 kB / 0.8765 GB, free: 171.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)