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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001908/0.001908, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.549/2.549, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.322/1.322, allocations: 132.3 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005436/0.0005437, allocations: 8.688 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8594, allocations: 81.57 MB / 0.583 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.2783/1.138, allocations: 129.8 MB / 0.7098 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02334/1.161, allocations: 8.715 MB / 0.7183 GB, free: 5.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/1.163, allocations: 15.94 kB / 0.7183 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/1.164, allocations: 143 kB / 0.7184 GB, free: 5.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004332/1.168, allocations: 0.7502 MB / 0.7191 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004163/1.173, allocations: 0.8119 MB / 0.7199 GB, free: 3.887 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002941/1.176, allocations: 0.9279 MB / 0.7208 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/1.178, allocations: 0.8525 MB / 0.7217 GB, free: 2.082 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/1.18, allocations: 470.2 kB / 0.7221 GB, free: 1.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009433/1.181, allocations: 374.1 kB / 0.7225 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/1.181, allocations: 28 kB / 0.7225 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/1.184, allocations: 0.7334 MB / 0.7232 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003933/1.184, allocations: 235 kB / 0.7234 GB, free: 268 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004323/1.185, allocations: 221.1 kB / 0.7237 GB, free: 40 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003556/1.188, allocations: 1.489 MB / 0.7251 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.188, allocations: 4 kB / 0.7251 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.725e-06/1.188, allocations: 0 / 0.7251 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.559e-05/1.188, allocations: 0 / 0.7251 GB, free: 14.54 MB / 0.5606 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.004451/1.193, allocations: 1.39 MB / 0.7265 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/1.193, allocations: 12.03 kB / 0.7265 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003065/1.193, allocations: 143.7 kB / 0.7266 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002825/1.196, allocations: 266.2 kB / 0.7269 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/1.199, allocations: 0.9847 MB / 0.7278 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.816e-05/1.199, allocations: 66 kB / 0.7279 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/1.199, allocations: 88 kB / 0.728 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/1.202, allocations: 1.055 MB / 0.729 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/1.202, allocations: 0 / 0.729 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/1.202, allocations: 36 kB / 0.7291 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/1.202, allocations: 24 kB / 0.7291 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/1.206, allocations: 1.28 MB / 0.7303 GB, free: 9.066 MB / 0.5606 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.009002/1.215, allocations: 3.167 MB / 0.7334 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/1.218, allocations: 0.9471 MB / 0.7343 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/1.219, allocations: 49 kB / 0.7344 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/1.22, allocations: 0.5514 MB / 0.7349 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=86): time 5.52e-06/1.22, allocations: 4 kB / 0.7349 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86): time 0.006489/1.227, allocations: 1.528 MB / 0.7364 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/1.227, allocations: 192.9 kB / 0.7366 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/1.229, allocations: 0.9736 MB / 0.7376 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/1.229, allocations: 49.64 kB / 0.7376 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000636/1.23, allocations: 452.2 kB / 0.738 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000411/1.231, allocations: 283.9 kB / 0.7383 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/1.231, allocations: 16 kB / 0.7383 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002139/1.231, allocations: 337.9 kB / 0.7386 GB, free: 304 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/1.232, allocations: 301.8 kB / 0.7389 GB, free: 0 / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/1.233, allocations: 441.1 kB / 0.7394 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/1.234, allocations: 362.8 kB / 0.7397 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/1.234, allocations: 4 kB / 0.7397 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00388/1.238, allocations: 0.9628 MB / 0.7406 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/1.238, allocations: 11.95 kB / 0.7407 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.238, allocations: 3.984 kB / 0.7407 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/1.24, allocations: 113.6 kB / 0.7408 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.241, allocations: 183.8 kB / 0.7409 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/1.247, allocations: 2.879 MB / 0.7438 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/1.248, allocations: 107.3 kB / 0.7439 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.249, allocations: 35.97 kB / 0.7439 GB, free: 10.59 MB / 0.5762 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (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.001025/1.25, allocations: 287.7 kB / 0.7442 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/1.25, allocations: 98.83 kB / 0.7443 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004574/1.254, allocations: 1.235 MB / 0.7455 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/1.255, allocations: 16 kB / 0.7455 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.255, allocations: 0 / 0.7455 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.273e-05/1.255, allocations: 7.938 kB / 0.7455 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00648/1.261, allocations: 2.142 MB / 0.7476 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.261, allocations: 0 / 0.7476 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/1.262, allocations: 196 kB / 0.7478 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/1.264, allocations: 121.5 kB / 0.7479 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/1.264, allocations: 31.92 kB / 0.7479 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/1.269, allocations: 2.891 MB / 0.7507 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.269, allocations: 4.031 kB / 0.7507 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004492/1.273, allocations: 1.183 MB / 0.7519 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/1.275, allocations: 315.5 kB / 0.7522 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/1.275, allocations: 23.98 kB / 0.7522 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/1.277, allocations: 87.92 kB / 0.7523 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002835/1.277, allocations: 76.8 kB / 0.7524 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.277, allocations: 39.97 kB / 0.7524 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001845/1.279, allocations: 0.7177 MB / 0.7531 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/1.279, allocations: 0 / 0.7531 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002454/1.281, allocations: 415.1 kB / 0.7535 GB, free: 316 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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.007768/1.289, allocations: 2.468 MB / 0.7559 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003658/1.293, allocations: 1.045 MB / 0.7569 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.801e-05/1.293, allocations: 4 kB / 0.7569 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/1.295, allocations: 0.7022 MB / 0.7576 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/1.298, allocations: 294.1 kB / 0.7579 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/1.321, allocations: 7.128 MB / 0.7649 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.322, allocations: 1.094 MB / 0.7659 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001979/1.324, allocations: 306.9 kB / 0.7662 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000991/1.325, allocations: 423.3 kB / 0.7666 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of SimCode: time 1.633e-06/1.325, allocations: 0 / 0.7666 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08945/1.415, allocations: 26.33 MB / 0.7924 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000421/1.415, allocations: 255 kB / 0.7926 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.121/5.536, allocations: 0 / 0.7926 GB, free: 8.574 MB / 0.6231 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) Environment - environmentSimulation: