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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 170.5 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7259/0.7259, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.747/1.747, allocations: 221.3 MB / 400.4 MB, free: 5.789 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009512/0.0009511, allocations: 105.2 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.973e-05, allocations: 4.562 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.193, allocations: 82.3 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.475/5.668, allocations: 1.901 GB / 2.541 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/5.668, allocations: 90.7 kB / 2.542 GB, free: 28.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8153/6.483, allocations: 152.6 MB / 2.691 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/6.483, allocations: 0 / 2.691 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001398/6.484, allocations: 39.86 kB / 2.691 GB, free: 153.5 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.00331/6.487, allocations: 1.335 MB / 2.692 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/6.487, allocations: 8.031 kB / 2.692 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002855/6.487, allocations: 143.7 kB / 2.692 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/6.489, allocations: 262.2 kB / 2.692 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/6.49, allocations: 0.8186 MB / 2.693 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/6.49, allocations: 73.94 kB / 2.693 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/6.49, allocations: 92 kB / 2.693 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/6.492, allocations: 0.9893 MB / 2.694 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/6.492, allocations: 4 kB / 2.694 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.693e-05/6.492, allocations: 36 kB / 2.694 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/6.492, allocations: 24 kB / 2.694 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/6.493, allocations: 1.186 MB / 2.695 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004226/6.498, allocations: 3.133 MB / 2.699 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/6.499, allocations: 0.9493 MB / 2.699 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/6.499, allocations: 356.8 kB / 2.7 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/6.5, allocations: 129.8 kB / 2.7 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006701/6.5, allocations: 0.5168 MB / 2.7 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 2.795e-06/6.5, allocations: 0 / 2.7 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.001936/6.502, allocations: 0.8717 MB / 2.701 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/6.502, allocations: 252.1 kB / 2.701 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/6.503, allocations: 0.801 MB / 2.702 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/6.503, allocations: 45.7 kB / 2.702 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/6.504, allocations: 444.3 kB / 2.703 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/6.504, allocations: 291.8 kB / 2.703 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/6.504, allocations: 15.94 kB / 2.703 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.715e-05/6.504, allocations: 337.9 kB / 2.703 GB, free: 140 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/6.504, allocations: 265.4 kB / 2.704 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/6.505, allocations: 399.6 kB / 2.704 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/6.505, allocations: 313.9 kB / 2.704 GB, free: 139 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/6.505, allocations: 0 / 2.704 GB, free: 139 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001629/6.507, allocations: 0.8756 MB / 2.705 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/6.507, allocations: 7.953 kB / 2.705 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/6.507, allocations: 0 / 2.705 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006981/6.508, allocations: 117.6 kB / 2.705 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/6.508, allocations: 183.8 kB / 2.705 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/6.511, allocations: 2.848 MB / 2.708 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/6.512, allocations: 103.5 kB / 2.708 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/6.512, allocations: 39.97 kB / 2.708 GB, free: 134.5 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.0001976/6.512, allocations: 150 kB / 2.709 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/6.512, allocations: 102.7 kB / 2.709 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/6.514, allocations: 1.169 MB / 2.71 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/6.514, allocations: 8 kB / 2.71 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/6.514, allocations: 4 kB / 2.71 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/6.514, allocations: 7.938 kB / 2.71 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/6.518, allocations: 2.271 MB / 2.712 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/6.518, allocations: 0 / 2.712 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007655/6.518, allocations: 191.8 kB / 2.712 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005702/6.519, allocations: 113.6 kB / 2.712 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.598e-05/6.519, allocations: 28.02 kB / 2.712 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/6.521, allocations: 2.876 MB / 2.715 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/6.521, allocations: 11.97 kB / 2.715 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/6.523, allocations: 1.059 MB / 2.716 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/6.523, allocations: 347.5 kB / 2.716 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/6.524, allocations: 19.98 kB / 2.717 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000715/6.524, allocations: 83.88 kB / 2.717 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/6.524, allocations: 72.89 kB / 2.717 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/6.524, allocations: 43.97 kB / 2.717 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007002/6.525, allocations: 0.6397 MB / 2.717 GB, free: 125 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/6.525, allocations: 0 / 2.717 GB, free: 125 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001585/6.527, allocations: 0.5263 MB / 2.718 GB, free: 124.4 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.004107/6.531, allocations: 2.835 MB / 2.721 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00141/6.532, allocations: 0.9421 MB / 2.722 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/6.532, allocations: 0 / 2.722 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007922/6.533, allocations: 0.6512 MB / 2.722 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/6.534, allocations: 295.9 kB / 2.722 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/6.539, allocations: 1.906 MB / 2.724 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/6.539, allocations: 1.106 MB / 2.725 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001036/6.54, allocations: 319.2 kB / 2.726 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/6.541, allocations: 431.2 kB / 2.726 GB, free: 116 MB / 0.6823 GB Notification: Performance of SimCode: time 1.193e-06/6.541, allocations: 3.938 kB / 2.726 GB, free: 116 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07158/6.612, allocations: 41.5 MB / 2.767 GB, free: 74.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/6.613, allocations: 225.2 kB / 2.767 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.406/10.02, allocations: 0 / 2.767 GB, free: 74.39 MB / 0.6823 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/linux/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)