Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",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.009067/0.009067, allocations: 100.4 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 195.4 kB / 16.67 MB, free: 5.93 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7753/0.7753, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.03 kB / 0.5808 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1554, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5483/0.7038, allocations: 153.8 MB / 0.8094 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.7176, allocations: 10.39 MB / 0.8195 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.7189, allocations: 23.59 kB / 0.8195 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009113/0.7199, allocations: 261.5 kB / 0.8198 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003287/0.7232, allocations: 0.9051 MB / 0.8207 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.7261, allocations: 1.04 MB / 0.8217 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001863/0.7279, allocations: 1.519 MB / 0.8232 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.7295, allocations: 1.143 MB / 0.8243 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.7314, allocations: 0.6679 MB / 0.8249 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006864/0.7321, allocations: 0.5467 MB / 0.8255 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.7323, allocations: 123.7 kB / 0.8256 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.7346, allocations: 1.022 MB / 0.8266 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.735, allocations: 357.9 kB / 0.8269 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006995/0.7357, allocations: 0.6133 MB / 0.8275 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004083/0.7398, allocations: 2.08 MB / 0.8295 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7398, allocations: 0 / 0.8295 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7398, allocations: 0 / 0.8295 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.7398, allocations: 0 / 0.8295 GB, free: 1.902 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003283/0.7431, allocations: 1.627 MB / 0.8311 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.7432, allocations: 10.16 kB / 0.8311 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.7434, allocations: 144.4 kB / 0.8313 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.745, allocations: 260.3 kB / 0.8315 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.7465, allocations: 1.047 MB / 0.8326 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.114e-05/0.7466, allocations: 71.98 kB / 0.8326 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.7467, allocations: 88.09 kB / 0.8327 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.7484, allocations: 1.047 MB / 0.8337 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.7484, allocations: 0 / 0.8337 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.7485, allocations: 37.75 kB / 0.8338 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.7485, allocations: 22.56 kB / 0.8338 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.7505, allocations: 1.272 MB / 0.835 GB, free: 14.3 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.004562/0.7551, allocations: 3.099 MB / 0.8381 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.7567, allocations: 1.013 MB / 0.839 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.7574, allocations: 395.3 kB / 0.8394 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/0.7576, allocations: 134.4 kB / 0.8395 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009237/0.7585, allocations: 0.5465 MB / 0.8401 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 2.966e-06/0.7586, allocations: 0 / 0.8401 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.003641/0.7622, allocations: 1.512 MB / 0.8416 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/0.7623, allocations: 194.6 kB / 0.8417 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.7634, allocations: 0.9752 MB / 0.8427 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.047e-05/0.7635, allocations: 42.61 kB / 0.8427 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.7639, allocations: 450.5 kB / 0.8432 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.7641, allocations: 282.9 kB / 0.8434 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.7644, allocations: 155.2 kB / 0.8436 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7645, allocations: 337.6 kB / 0.8439 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/0.7651, allocations: 299.5 kB / 0.8442 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007238/0.7658, allocations: 437.1 kB / 0.8446 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.7671, allocations: 0.7132 MB / 0.8453 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.7671, allocations: 3.938 kB / 0.8453 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002304/0.7694, allocations: 0.9587 MB / 0.8462 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.7695, allocations: 8 kB / 0.8463 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.7695, allocations: 8 kB / 0.8463 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007259/0.7702, allocations: 117.5 kB / 0.8464 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/0.771, allocations: 179.8 kB / 0.8465 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/0.7741, allocations: 3.066 MB / 0.8495 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008313/0.775, allocations: 90.7 kB / 0.8496 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.628e-05/0.7751, allocations: 33.53 kB / 0.8497 GB, free: 2.418 MB / 0.6075 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 (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005455/0.7756, allocations: 285.7 kB / 0.8499 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.7758, allocations: 106.7 kB / 0.85 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.7785, allocations: 1.216 MB / 0.8512 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.7785, allocations: 11.94 kB / 0.8512 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.7786, allocations: 0 / 0.8512 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.7786, allocations: 7.922 kB / 0.8512 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004098/0.7827, allocations: 2.26 MB / 0.8534 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.7827, allocations: 3.984 kB / 0.8534 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/0.7835, allocations: 183.8 kB / 0.8536 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005396/0.784, allocations: 101.6 kB / 0.8537 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/0.7841, allocations: 27.98 kB / 0.8537 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003066/0.7872, allocations: 3.093 MB / 0.8568 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.7872, allocations: 8 kB / 0.8568 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.7899, allocations: 1.139 MB / 0.8579 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.7905, allocations: 299.6 kB / 0.8582 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.7906, allocations: 19.94 kB / 0.8582 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000693/0.7913, allocations: 77.72 kB / 0.8583 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.7915, allocations: 64.91 kB / 0.8583 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.614e-05/0.7916, allocations: 39.97 kB / 0.8584 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000861/0.7924, allocations: 0.7177 MB / 0.8591 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7924, allocations: 0 / 0.8591 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001226/0.7937, allocations: 423.1 kB / 0.8595 GB, free: 7.949 MB / 0.6231 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,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.004053/0.7977, allocations: 2.295 MB / 0.8617 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.7997, allocations: 1.026 MB / 0.8627 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.7997, allocations: 0 / 0.8627 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.8009, allocations: 0.702 MB / 0.8634 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.8023, allocations: 342.4 kB / 0.8637 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.8162, allocations: 7.981 MB / 0.8715 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007714/0.817, allocations: 1.071 MB / 0.8726 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001086/0.8181, allocations: 313.9 kB / 0.8729 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006672/0.8188, allocations: 431.2 kB / 0.8733 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of SimCode: time 6.92e-07/0.8188, allocations: 0 / 0.8733 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06266/0.8815, allocations: 26.37 MB / 0.899 GB, free: 15.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.7, allocations: 6.031 kB / 0.899 GB, free: 15.69 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)