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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7792/0.7792, allocations: 133.6 MB / 141.6 MB, free: 2.922 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.0008966, allocations: 91.08 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.506e-05, allocations: 4 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.539/0.539, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.392/5.931, allocations: 1.9 GB / 2.534 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/5.931, allocations: 87.66 kB / 2.534 GB, free: 136 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.847/6.779, allocations: 150.8 MB / 2.682 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/6.779, allocations: 0 / 2.682 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001295/6.779, allocations: 33.11 kB / 2.682 GB, free: 202.1 MB / 0.6823 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.003712/6.782, allocations: 1.341 MB / 2.683 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.559e-05/6.783, allocations: 12.95 kB / 2.683 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/6.784, allocations: 261.7 kB / 2.683 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/6.786, allocations: 0.8174 MB / 2.684 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/6.786, allocations: 26.47 kB / 2.684 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/6.786, allocations: 59 kB / 2.684 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002046/6.788, allocations: 1.129 MB / 2.685 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/6.79, allocations: 0.8679 MB / 2.686 GB, free: 201 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/6.79, allocations: 3.938 kB / 2.686 GB, free: 201 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.137e-05/6.79, allocations: 0 / 2.686 GB, free: 201 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/6.79, allocations: 22.03 kB / 2.686 GB, free: 201 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/6.796, allocations: 2.972 MB / 2.689 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/6.797, allocations: 0.8864 MB / 2.69 GB, free: 200 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004508/6.797, allocations: 330.7 kB / 2.69 GB, free: 200 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/6.798, allocations: 135.8 kB / 2.69 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007665/6.798, allocations: 482.8 kB / 2.691 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 4.859e-06/6.798, allocations: 2.438 kB / 2.691 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.00224/6.801, allocations: 0.8369 MB / 2.692 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/6.801, allocations: 250.2 kB / 2.692 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/6.802, allocations: 0.7134 MB / 2.692 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-05/6.802, allocations: 25.7 kB / 2.693 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/6.802, allocations: 448.6 kB / 2.693 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/6.803, allocations: 278.4 kB / 2.693 GB, free: 199 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/6.803, allocations: 0 / 2.693 GB, free: 199 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001064/6.803, allocations: 331.1 kB / 2.694 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/6.803, allocations: 247.1 kB / 2.694 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/6.804, allocations: 376.4 kB / 2.694 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/6.804, allocations: 306.5 kB / 2.694 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/6.804, allocations: 0 / 2.694 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001697/6.806, allocations: 0.8228 MB / 2.695 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/6.806, allocations: 7.531 kB / 2.695 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/6.806, allocations: 0 / 2.695 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006786/6.807, allocations: 116.5 kB / 2.695 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/6.807, allocations: 179.2 kB / 2.696 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/6.81, allocations: 2.746 MB / 2.698 GB, free: 196 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008462/6.811, allocations: 83.19 kB / 2.698 GB, free: 196 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-05/6.811, allocations: 33.45 kB / 2.698 GB, free: 196 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002105/6.811, allocations: 124 kB / 2.698 GB, free: 195.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001667/6.813, allocations: 0.8251 MB / 2.699 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/6.813, allocations: 98.11 kB / 2.699 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002191/6.815, allocations: 1.099 MB / 2.7 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/6.815, allocations: 9.656 kB / 2.7 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/6.815, allocations: 0 / 2.7 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/6.815, allocations: 3.656 kB / 2.7 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/6.818, allocations: 2.1 MB / 2.702 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/6.818, allocations: 3.938 kB / 2.702 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/6.819, allocations: 182.8 kB / 2.703 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/6.82, allocations: 118.2 kB / 2.703 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/6.82, allocations: 14.75 kB / 2.703 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/6.822, allocations: 2.753 MB / 2.705 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/6.822, allocations: 2.875 kB / 2.705 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/6.824, allocations: 1.013 MB / 2.706 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/6.824, allocations: 338.3 kB / 2.707 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/6.824, allocations: 7.672 kB / 2.707 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007264/6.825, allocations: 73.83 kB / 2.707 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/6.825, allocations: 71.45 kB / 2.707 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-05/6.825, allocations: 38.72 kB / 2.707 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006555/6.826, allocations: 0.5616 MB / 2.707 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/6.826, allocations: 0 / 2.707 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001627/6.827, allocations: 496.9 kB / 2.708 GB, free: 192.2 MB / 0.6823 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004477/6.832, allocations: 2.874 MB / 2.711 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001517/6.833, allocations: 0.8928 MB / 2.712 GB, free: 191 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/6.833, allocations: 3.219 kB / 2.712 GB, free: 191 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/6.834, allocations: 0.6211 MB / 2.712 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/6.836, allocations: 272.5 kB / 2.713 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/6.841, allocations: 1.821 MB / 2.714 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/6.841, allocations: 1.109 MB / 2.715 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001127/6.842, allocations: 319.6 kB / 2.716 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/6.843, allocations: 430.8 kB / 2.716 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/6.843, allocations: 0 / 2.716 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06727/6.91, allocations: 31.12 MB / 2.746 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/6.911, allocations: 173 kB / 2.747 GB, free: 184.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.201/10.11, allocations: 7.875 kB / 2.747 GB, free: 184.3 MB / 0.6823 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/linux/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)