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.001311/0.001311, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 192 kB / 16.53 MB, free: 6.391 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8946/0.8946, allocations: 135.1 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.36 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1393, allocations: 80.93 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.3947/0.534, allocations: 153.8 MB / 0.7346 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.549, allocations: 10.39 MB / 0.7448 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.5503, allocations: 21.75 kB / 0.7448 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.5515, allocations: 256.3 kB / 0.745 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.5546, allocations: 0.8926 MB / 0.7459 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.5573, allocations: 1.039 MB / 0.7469 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.5593, allocations: 1.503 MB / 0.7484 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.561, allocations: 1.14 MB / 0.7495 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.5627, allocations: 0.6497 MB / 0.7501 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005932/0.5633, allocations: 0.5518 MB / 0.7507 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.5635, allocations: 126.2 kB / 0.7508 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.5653, allocations: 0.986 MB / 0.7518 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.5656, allocations: 354.5 kB / 0.7521 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005178/0.5661, allocations: 0.6045 MB / 0.7527 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.5684, allocations: 2.038 MB / 0.7547 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5684, allocations: 0 / 0.7547 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5684, allocations: 0 / 0.7547 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.5684, allocations: 4 kB / 0.7547 GB, free: 14.59 MB / 0.5762 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.002496/0.5709, allocations: 1.624 MB / 0.7563 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5709, allocations: 12.03 kB / 0.7563 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.5711, allocations: 143.7 kB / 0.7564 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.5727, allocations: 262.2 kB / 0.7567 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.574, allocations: 1.027 MB / 0.7577 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.903e-05/0.5741, allocations: 66 kB / 0.7577 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.5742, allocations: 88 kB / 0.7578 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.5759, allocations: 1.051 MB / 0.7588 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.576, allocations: 3.688 kB / 0.7589 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/0.5761, allocations: 36 kB / 0.7589 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.5761, allocations: 24 kB / 0.7589 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.5782, allocations: 1.276 MB / 0.7602 GB, free: 8.852 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.004594/0.5828, allocations: 3.129 MB / 0.7632 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.5846, allocations: 1.015 MB / 0.7642 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006996/0.5853, allocations: 394.8 kB / 0.7646 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.5855, allocations: 136 kB / 0.7647 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.5866, allocations: 0.5475 MB / 0.7652 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=86): time 2.184e-06/0.5866, allocations: 0 / 0.7652 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86): time 0.00384/0.5904, allocations: 1.506 MB / 0.7667 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/0.5905, allocations: 192.9 kB / 0.7669 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.5916, allocations: 0.9851 MB / 0.7679 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/0.5917, allocations: 49.64 kB / 0.7679 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.5921, allocations: 444.4 kB / 0.7683 GB, free: 216 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.5923, allocations: 288 kB / 0.7686 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.5925, allocations: 150.5 kB / 0.7688 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5927, allocations: 345.8 kB / 0.7691 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006302/0.5933, allocations: 301.8 kB / 0.7694 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007724/0.5941, allocations: 436.1 kB / 0.7698 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.5955, allocations: 0.7101 MB / 0.7705 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5955, allocations: 0 / 0.7705 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002247/0.5977, allocations: 0.9548 MB / 0.7714 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5978, allocations: 11.94 kB / 0.7714 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5978, allocations: 0 / 0.7714 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/0.5985, allocations: 117.7 kB / 0.7715 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008131/0.5994, allocations: 179.8 kB / 0.7717 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/0.6025, allocations: 3.061 MB / 0.7747 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.6032, allocations: 96.09 kB / 0.7748 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.6033, allocations: 27.98 kB / 0.7748 GB, free: 9.207 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.0004432/0.6037, allocations: 295.2 kB / 0.7751 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.6039, allocations: 98.81 kB / 0.7752 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.6067, allocations: 1.22 MB / 0.7764 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.6067, allocations: 8 kB / 0.7764 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6067, allocations: 3.938 kB / 0.7764 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6067, allocations: 11.97 kB / 0.7764 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/0.6104, allocations: 2.265 MB / 0.7786 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6105, allocations: 0 / 0.7786 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007983/0.6113, allocations: 191.6 kB / 0.7788 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005542/0.6118, allocations: 101.6 kB / 0.7789 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/0.6119, allocations: 27.98 kB / 0.7789 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.6148, allocations: 3.088 MB / 0.7819 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6148, allocations: 3.938 kB / 0.7819 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.6171, allocations: 1.141 MB / 0.7831 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/0.6175, allocations: 299.5 kB / 0.7833 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.6177, allocations: 19.98 kB / 0.7834 GB, free: 24 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007409/0.6184, allocations: 71.94 kB / 0.7834 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.6186, allocations: 68.89 kB / 0.7835 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-05/0.6187, allocations: 35.98 kB / 0.7835 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008836/0.6195, allocations: 0.7254 MB / 0.7842 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6196, allocations: 0 / 0.7842 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001261/0.6208, allocations: 411.2 kB / 0.7846 GB, free: 14.73 MB / 0.6075 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.004459/0.6253, allocations: 2.295 MB / 0.7869 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002931/0.6282, allocations: 1.256 MB / 0.7881 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6283, allocations: 4 kB / 0.7881 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.6295, allocations: 0.6904 MB / 0.7888 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.6309, allocations: 342.3 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.645, allocations: 8.275 MB / 0.7972 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008429/0.6459, allocations: 1.08 MB / 0.7982 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001068/0.647, allocations: 303.3 kB / 0.7985 GB, free: 408 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006171/0.6476, allocations: 431.3 kB / 0.7989 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.6476, allocations: 0 / 0.7989 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.327/4.974, allocations: 26.11 MB / 0.8244 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/19.39, allocations: 15.98 kB / 0.8245 GB, free: 6.203 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)