Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_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.0008127/0.0008125, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005201/0.005201, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.202/1.202, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8033/0.8033, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 8 kB / 0.5077 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1332, allocations: 82.3 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.3522/0.4855, allocations: 162.4 MB / 0.7467 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.503, allocations: 16.92 MB / 0.7632 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007864/0.5038, allocations: 26.72 kB / 0.7632 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000987/0.5048, allocations: 452.6 kB / 0.7637 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.5078, allocations: 1.46 MB / 0.7651 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.5101, allocations: 1.235 MB / 0.7663 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.5123, allocations: 2.763 MB / 0.769 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.5139, allocations: 1.686 MB / 0.7706 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.5176, allocations: 1.031 MB / 0.7716 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007847/0.5184, allocations: 0.824 MB / 0.7724 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.5185, allocations: 44 kB / 0.7725 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.5205, allocations: 1.501 MB / 0.7739 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004355/0.521, allocations: 0.5759 MB / 0.7745 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007141/0.5217, allocations: 0.9721 MB / 0.7755 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002714/0.5244, allocations: 3.336 MB / 0.7787 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.5244, allocations: 0 / 0.7787 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5245, allocations: 0 / 0.7787 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.5245, allocations: 0 / 0.7787 GB, free: 9.043 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.003057/0.5275, allocations: 2.308 MB / 0.781 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.5276, allocations: 8.031 kB / 0.781 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002442/0.5278, allocations: 240.5 kB / 0.7812 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/0.531, allocations: 0.5714 MB / 0.7818 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.5342, allocations: 3.344 MB / 0.785 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/0.5343, allocations: 127.2 kB / 0.7852 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.5345, allocations: 167.9 kB / 0.7853 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.5372, allocations: 1.885 MB / 0.7872 GB, free: 232 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.5372, allocations: 0 / 0.7872 GB, free: 232 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.5374, allocations: 68 kB / 0.7872 GB, free: 164 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.5374, allocations: 40 kB / 0.7873 GB, free: 124 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.5405, allocations: 2.05 MB / 0.7893 GB, free: 14.06 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.007296/0.5478, allocations: 6.114 MB / 0.7952 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/0.5506, allocations: 2.019 MB / 0.7972 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.5518, allocations: 0.7335 MB / 0.7979 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000479/0.5522, allocations: 429.7 kB / 0.7983 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/0.5536, allocations: 0.9373 MB / 0.7992 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.374e-06/0.5536, allocations: 0 / 0.7992 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.00564/0.5593, allocations: 2.86 MB / 0.802 GB, free: 456 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/0.5594, allocations: 197.2 kB / 0.8022 GB, free: 216 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/0.5632, allocations: 4.011 MB / 0.8061 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.5633, allocations: 53.7 kB / 0.8062 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005987/0.5639, allocations: 0.8667 MB / 0.807 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.5642, allocations: 469.2 kB / 0.8075 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.5643, allocations: 89.67 kB / 0.8076 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5645, allocations: 349.9 kB / 0.8079 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009292/0.5654, allocations: 0.5491 MB / 0.8084 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.5665, allocations: 0.7617 MB / 0.8092 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.5685, allocations: 1.263 MB / 0.8104 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5685, allocations: 4 kB / 0.8104 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003136/0.5717, allocations: 1.694 MB / 0.8121 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5717, allocations: 4 kB / 0.8121 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5717, allocations: 7.938 kB / 0.8121 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009758/0.5727, allocations: 216.2 kB / 0.8123 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.574, allocations: 307.5 kB / 0.8126 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004957/0.5789, allocations: 6.807 MB / 0.8192 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.58, allocations: 162.9 kB / 0.8194 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/0.5801, allocations: 47.97 kB / 0.8194 GB, free: 13.75 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 (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.0006136/0.5807, allocations: 477.4 kB / 0.8199 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.581, allocations: 181.8 kB / 0.8201 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.5849, allocations: 2.051 MB / 0.8221 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.5849, allocations: 16 kB / 0.8221 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5849, allocations: 4 kB / 0.8221 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.5849, allocations: 11.91 kB / 0.8221 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005571/0.5905, allocations: 3.919 MB / 0.8259 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5905, allocations: 4 kB / 0.8259 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.5918, allocations: 307.6 kB / 0.8262 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008932/0.5927, allocations: 220.1 kB / 0.8264 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.537e-05/0.5928, allocations: 35.97 kB / 0.8265 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004813/0.5976, allocations: 6.848 MB / 0.8332 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5976, allocations: 0 / 0.8332 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/0.6009, allocations: 1.905 MB / 0.835 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.6015, allocations: 0.5099 MB / 0.8355 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.6017, allocations: 24 kB / 0.8355 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.6028, allocations: 134.2 kB / 0.8357 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.603, allocations: 101.1 kB / 0.8358 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.6031, allocations: 67.95 kB / 0.8358 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002791/0.6059, allocations: 3.087 MB / 0.8388 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.6059, allocations: 0 / 0.8388 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001328/0.6072, allocations: 0.643 MB / 0.8395 GB, free: 8.387 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.004893/0.6122, allocations: 3.104 MB / 0.8425 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00277/0.6149, allocations: 1.981 MB / 0.8444 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.6149, allocations: 4.797 kB / 0.8444 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.6167, allocations: 1.372 MB / 0.8458 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.6187, allocations: 0.4911 MB / 0.8463 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2315/0.8502, allocations: 22.68 MB / 0.8684 GB, free: 210.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.851, allocations: 1.505 MB / 0.8699 GB, free: 209.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001613/0.8526, allocations: 0.5056 MB / 0.8704 GB, free: 209.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009078/0.8535, allocations: 0.8451 MB / 0.8712 GB, free: 209.7 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/0.8535, allocations: 0 / 0.8712 GB, free: 209.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.293/9.147, allocations: 43.94 MB / 0.9141 GB, free: 200.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/9.147, allocations: 267.9 kB / 0.9144 GB, free: 200.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/12.21, allocations: 0 / 0.9144 GB, free: 200.3 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)