Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.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,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData",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.001316/0.001316, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001796/0.001796, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7532/0.7532, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 67.8 kB / 0.5012 GB, free: 9.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1399, allocations: 80.21 MB / 0.5795 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.3773/0.5172, allocations: 164.6 MB / 0.7403 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01702/0.5342, allocations: 17.16 MB / 0.757 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008667/0.5351, allocations: 30.31 kB / 0.757 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.5363, allocations: 452.9 kB / 0.7575 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.5394, allocations: 1.46 MB / 0.7589 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.542, allocations: 1.228 MB / 0.7601 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002002/0.544, allocations: 2.771 MB / 0.7628 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.5457, allocations: 1.822 MB / 0.7646 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.5498, allocations: 1.194 MB / 0.7658 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009039/0.5507, allocations: 1.015 MB / 0.7667 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.5509, allocations: 112 kB / 0.7668 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.5533, allocations: 1.567 MB / 0.7684 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000511/0.5538, allocations: 0.6774 MB / 0.769 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008423/0.5547, allocations: 1.084 MB / 0.7701 GB, free: 156 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.5576, allocations: 3.438 MB / 0.7735 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5576, allocations: 4 kB / 0.7735 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.52e-07/0.5576, allocations: 0 / 0.7735 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.9e-05/0.5576, allocations: 0 / 0.7735 GB, free: 12.7 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.003916/0.5616, allocations: 2.777 MB / 0.7762 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.5616, allocations: 8.031 kB / 0.7762 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002654/0.5619, allocations: 248.5 kB / 0.7764 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003599/0.5655, allocations: 0.5473 MB / 0.777 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/0.5688, allocations: 3.35 MB / 0.7802 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.769e-05/0.5689, allocations: 127.3 kB / 0.7803 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.5691, allocations: 163.9 kB / 0.7805 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.572, allocations: 1.876 MB / 0.7823 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.572, allocations: 0 / 0.7823 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001547/0.5722, allocations: 76 kB / 0.7824 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/0.5722, allocations: 47.92 kB / 0.7825 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/0.5754, allocations: 2.038 MB / 0.7844 GB, free: 1.266 MB / 0.5919 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.007598/0.583, allocations: 6.079 MB / 0.7904 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.586, allocations: 2 MB / 0.7923 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.5872, allocations: 0.7342 MB / 0.793 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005453/0.5877, allocations: 429.6 kB / 0.7935 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.5893, allocations: 0.9271 MB / 0.7944 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.765e-06/0.5893, allocations: 3.938 kB / 0.7944 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006205/0.5955, allocations: 2.836 MB / 0.7971 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/0.5956, allocations: 201.2 kB / 0.7973 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003888/0.5995, allocations: 4.011 MB / 0.8012 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.5996, allocations: 53.7 kB / 0.8013 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000606/0.6002, allocations: 0.8667 MB / 0.8021 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.6006, allocations: 457.3 kB / 0.8026 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/0.6009, allocations: 230.8 kB / 0.8028 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.601, allocations: 349.9 kB / 0.8031 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.6021, allocations: 0.5452 MB / 0.8037 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.6033, allocations: 0.7561 MB / 0.8044 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.6054, allocations: 1.255 MB / 0.8056 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6054, allocations: 4 kB / 0.8056 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003483/0.6089, allocations: 1.686 MB / 0.8073 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6089, allocations: 8 kB / 0.8073 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.609, allocations: 3.938 kB / 0.8073 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.6101, allocations: 212.2 kB / 0.8075 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.6115, allocations: 303.6 kB / 0.8078 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005271/0.6168, allocations: 6.803 MB / 0.8144 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.618, allocations: 161.7 kB / 0.8146 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-05/0.6182, allocations: 51.95 kB / 0.8146 GB, free: 0.9453 MB / 0.6231 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 (132): * Single equations (assignments): 127 * 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.0006615/0.6188, allocations: 471 kB / 0.8151 GB, free: 488 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.6191, allocations: 181.8 kB / 0.8153 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/0.6234, allocations: 2.043 MB / 0.8172 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.6234, allocations: 12 kB / 0.8173 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6234, allocations: 7.984 kB / 0.8173 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.6235, allocations: 3.984 kB / 0.8173 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00605/0.6295, allocations: 3.925 MB / 0.8211 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6295, allocations: 0 / 0.8211 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.631, allocations: 311.6 kB / 0.8214 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.632, allocations: 216 kB / 0.8216 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.09e-05/0.6321, allocations: 39.97 kB / 0.8216 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005155/0.6373, allocations: 6.837 MB / 0.8283 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6373, allocations: 0 / 0.8283 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/0.6409, allocations: 1.901 MB / 0.8302 GB, free: 196 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006667/0.6416, allocations: 498.2 kB / 0.8307 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.6418, allocations: 28 kB / 0.8307 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.643, allocations: 118.1 kB / 0.8308 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.6432, allocations: 105.1 kB / 0.8309 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.6434, allocations: 71.94 kB / 0.831 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002844/0.6462, allocations: 3.084 MB / 0.834 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6462, allocations: 0 / 0.834 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00144/0.6477, allocations: 0.6391 MB / 0.8346 GB, free: 11.65 MB / 0.6544 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.005353/0.6531, allocations: 3.097 MB / 0.8376 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002958/0.656, allocations: 1.966 MB / 0.8395 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.656, allocations: 4.797 kB / 0.8395 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.6579, allocations: 1.371 MB / 0.8409 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.6599, allocations: 0.4986 MB / 0.8414 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2412/0.9012, allocations: 22.58 MB / 0.8634 GB, free: 219 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008282/0.902, allocations: 1.499 MB / 0.8649 GB, free: 218.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001869/0.9039, allocations: 0.5162 MB / 0.8654 GB, free: 218.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009535/0.9049, allocations: 0.846 MB / 0.8662 GB, free: 218.2 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/0.9049, allocations: 0 / 0.8662 GB, free: 218.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6698/1.575, allocations: 44.93 MB / 0.9101 GB, free: 209 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.575, allocations: 265.9 kB / 0.9103 GB, free: 208.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.102/4.676, allocations: 0 / 0.9103 GB, free: 208.7 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)