Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_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.0008543/0.0008543, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005215/0.005215, allocations: 169.8 kB / 16.26 MB, free: 6.676 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.152/1.152, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8151/0.8151, allocations: 135.3 MB / 426.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 8 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1453, allocations: 82.3 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.3455/0.4908, allocations: 149.5 MB / 0.734 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.5036, allocations: 10.28 MB / 0.7441 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007075/0.5043, allocations: 20 kB / 0.7441 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007241/0.5051, allocations: 210.7 kB / 0.7443 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.5073, allocations: 0.7559 MB / 0.745 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.5095, allocations: 0.91 MB / 0.7459 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001525/0.511, allocations: 1.507 MB / 0.7474 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.5124, allocations: 0.9931 MB / 0.7484 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.5141, allocations: 0.5037 MB / 0.7489 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006152/0.5147, allocations: 443.7 kB / 0.7493 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.5148, allocations: 25.66 kB / 0.7493 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.5162, allocations: 0.9289 MB / 0.7502 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.5165, allocations: 246.6 kB / 0.7505 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004541/0.5169, allocations: 0.5033 MB / 0.7509 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.5188, allocations: 1.942 MB / 0.7528 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.5188, allocations: 0 / 0.7528 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5189, allocations: 0 / 0.7528 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.449e-05/0.5189, allocations: 0 / 0.7528 GB, free: 2.934 MB / 0.5606 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.002265/0.5212, allocations: 1.386 MB / 0.7542 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.5212, allocations: 10.62 kB / 0.7542 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001794/0.5214, allocations: 144.3 kB / 0.7543 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.5229, allocations: 272.3 kB / 0.7546 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.5241, allocations: 1.019 MB / 0.7556 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/0.5242, allocations: 70 kB / 0.7557 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.5243, allocations: 92 kB / 0.7558 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.526, allocations: 1.055 MB / 0.7568 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.5261, allocations: 3.984 kB / 0.7568 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/0.5262, allocations: 40 kB / 0.7568 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.5262, allocations: 24 kB / 0.7568 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.5282, allocations: 1.292 MB / 0.7581 GB, free: 14.09 MB / 0.5762 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.00445/0.5327, allocations: 3.162 MB / 0.7612 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.5344, allocations: 1.03 MB / 0.7622 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006881/0.5351, allocations: 398.5 kB / 0.7626 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.5353, allocations: 134 kB / 0.7627 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009274/0.5362, allocations: 0.5592 MB / 0.7633 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=86): time 1.874e-06/0.5362, allocations: 0 / 0.7633 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86): time 0.003609/0.5398, allocations: 1.542 MB / 0.7648 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.5399, allocations: 188.9 kB / 0.7649 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.541, allocations: 0.9851 MB / 0.7659 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.541, allocations: 41.7 kB / 0.7659 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.5414, allocations: 444.4 kB / 0.7664 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.5416, allocations: 287.8 kB / 0.7666 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.443e-05/0.5417, allocations: 57.69 kB / 0.7667 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5418, allocations: 345.8 kB / 0.767 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000614/0.5424, allocations: 309.8 kB / 0.7673 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007149/0.5431, allocations: 449.1 kB / 0.7678 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.5444, allocations: 0.7296 MB / 0.7685 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5444, allocations: 0 / 0.7685 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002109/0.5466, allocations: 0.9783 MB / 0.7694 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5466, allocations: 7.938 kB / 0.7694 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5466, allocations: 4 kB / 0.7694 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006758/0.5473, allocations: 125.6 kB / 0.7695 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/0.5481, allocations: 187.8 kB / 0.7697 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.5507, allocations: 2.844 MB / 0.7725 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.5514, allocations: 119.2 kB / 0.7726 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/0.5515, allocations: 31.97 kB / 0.7726 GB, free: 14.57 MB / 0.5919 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.0003624/0.5518, allocations: 285.7 kB / 0.7729 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.552, allocations: 94.88 kB / 0.773 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.5546, allocations: 1.243 MB / 0.7742 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.5546, allocations: 12 kB / 0.7742 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5547, allocations: 4 kB / 0.7742 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.5547, allocations: 7.984 kB / 0.7742 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.5581, allocations: 2.283 MB / 0.7765 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.5582, allocations: 0 / 0.7765 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/0.5589, allocations: 191.8 kB / 0.7767 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005851/0.5595, allocations: 113.6 kB / 0.7768 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.5596, allocations: 23.98 kB / 0.7768 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.5621, allocations: 2.888 MB / 0.7796 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5621, allocations: 0 / 0.7796 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.5643, allocations: 1.149 MB / 0.7807 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.5646, allocations: 319.4 kB / 0.781 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.5648, allocations: 20.06 kB / 0.7811 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007443/0.5655, allocations: 103.7 kB / 0.7812 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.5656, allocations: 72.89 kB / 0.7812 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/0.5657, allocations: 35.98 kB / 0.7813 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000751/0.5665, allocations: 0.7255 MB / 0.782 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5665, allocations: 0 / 0.782 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009195/0.5674, allocations: 411.2 kB / 0.7824 GB, free: 4.219 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: 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.003766/0.5712, allocations: 2.31 MB / 0.7846 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.573, allocations: 1.052 MB / 0.7856 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.573, allocations: 4 kB / 0.7856 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.5741, allocations: 0.7059 MB / 0.7863 GB, free: 288 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.5755, allocations: 309.1 kB / 0.7866 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.5893, allocations: 8.808 MB / 0.7952 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.5899, allocations: 1.079 MB / 0.7963 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008998/0.5908, allocations: 295.3 kB / 0.7966 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005541/0.5914, allocations: 439.2 kB / 0.797 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.5914, allocations: 0 / 0.797 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.484/4.075, allocations: 24.89 MB / 0.8213 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/4.075, allocations: 288 kB / 0.8216 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/6.596, allocations: 0 / 0.8216 GB, free: 12.25 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)