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.005316/0.005316, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001307/0.001308, allocations: 202.9 kB / 16.68 MB, free: 5.969 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9667/0.9667, allocations: 135.5 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 71.89 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3906, allocations: 81.01 MB / 0.6649 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1778/0.5684, allocations: 153.8 MB / 0.815 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.5821, allocations: 10.4 MB / 0.8252 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006738/0.5828, allocations: 19.94 kB / 0.8252 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008015/0.5836, allocations: 257.8 kB / 0.8255 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.5861, allocations: 0.887 MB / 0.8263 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.5884, allocations: 1.034 MB / 0.8273 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.5901, allocations: 1.527 MB / 0.8288 GB, free: 8.426 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.5915, allocations: 1.137 MB / 0.8299 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.5932, allocations: 0.661 MB / 0.8306 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006611/0.5938, allocations: 0.5484 MB / 0.8311 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.594, allocations: 123.9 kB / 0.8312 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.5959, allocations: 1.018 MB / 0.8322 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/0.5963, allocations: 354.9 kB / 0.8326 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000579/0.5969, allocations: 0.614 MB / 0.8332 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.5997, allocations: 2.091 MB / 0.8352 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5997, allocations: 0 / 0.8352 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5997, allocations: 0 / 0.8352 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.558e-05/0.5997, allocations: 0 / 0.8352 GB, free: 1.863 MB / 0.6544 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.002784/0.6025, allocations: 1.674 MB / 0.8368 GB, free: 132 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.6025, allocations: 8.031 kB / 0.8368 GB, free: 124 kB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.6027, allocations: 143.8 kB / 0.837 GB, free: 15.97 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.6043, allocations: 270.9 kB / 0.8372 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.6058, allocations: 1.051 MB / 0.8383 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-05/0.6059, allocations: 70 kB / 0.8383 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.606, allocations: 88 kB / 0.8384 GB, free: 14.46 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.6078, allocations: 1.043 MB / 0.8394 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.6079, allocations: 4 kB / 0.8394 GB, free: 13.37 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/0.608, allocations: 36 kB / 0.8395 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.608, allocations: 24 kB / 0.8395 GB, free: 13.31 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.6103, allocations: 1.268 MB / 0.8407 GB, free: 12.05 MB / 0.67 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.004973/0.6152, allocations: 3.113 MB / 0.8438 GB, free: 8.82 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.6172, allocations: 1.014 MB / 0.8448 GB, free: 7.781 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007369/0.6179, allocations: 393.2 kB / 0.8451 GB, free: 7.398 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/0.6182, allocations: 138.6 kB / 0.8453 GB, free: 7.242 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.6192, allocations: 0.5475 MB / 0.8458 GB, free: 6.68 MB / 0.67 GB Notification: Performance of pre-optimization done (n=86): time 2.415e-06/0.6193, allocations: 0 / 0.8458 GB, free: 6.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=86): time 0.004032/0.6233, allocations: 1.507 MB / 0.8473 GB, free: 5.125 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.6234, allocations: 188.9 kB / 0.8475 GB, free: 4.898 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.6247, allocations: 0.9814 MB / 0.8484 GB, free: 3.906 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.164e-05/0.6248, allocations: 45.69 kB / 0.8485 GB, free: 3.855 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/0.6252, allocations: 457 kB / 0.8489 GB, free: 3.402 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.6254, allocations: 305.4 kB / 0.8492 GB, free: 3.102 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.6257, allocations: 150.6 kB / 0.8493 GB, free: 2.949 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.6258, allocations: 341.9 kB / 0.8497 GB, free: 2.609 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.6265, allocations: 301.8 kB / 0.8499 GB, free: 2.312 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007935/0.6273, allocations: 441 kB / 0.8504 GB, free: 1.848 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.6287, allocations: 0.7139 MB / 0.8511 GB, free: 1.125 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6288, allocations: 0 / 0.8511 GB, free: 1.125 MB / 0.67 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00235/0.6311, allocations: 0.9592 MB / 0.852 GB, free: 152 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.6311, allocations: 4 kB / 0.852 GB, free: 148 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.6311, allocations: 4 kB / 0.852 GB, free: 144 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007253/0.6319, allocations: 121.6 kB / 0.8521 GB, free: 16 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.6327, allocations: 179.8 kB / 0.8523 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/0.636, allocations: 3.065 MB / 0.8553 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/0.6368, allocations: 99.48 kB / 0.8554 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/0.6369, allocations: 27.98 kB / 0.8554 GB, free: 12.36 MB / 0.6856 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.0005035/0.6374, allocations: 296 kB / 0.8557 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.6376, allocations: 99.39 kB / 0.8558 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.6404, allocations: 1.228 MB / 0.857 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.6405, allocations: 16 kB / 0.857 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6405, allocations: 0 / 0.857 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.6405, allocations: 3.984 kB / 0.857 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.6444, allocations: 2.256 MB / 0.8592 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6444, allocations: 4 kB / 0.8592 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008386/0.6453, allocations: 191.7 kB / 0.8594 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005721/0.6459, allocations: 105.6 kB / 0.8595 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.6459, allocations: 23.98 kB / 0.8595 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/0.6491, allocations: 3.092 MB / 0.8625 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6491, allocations: 0 / 0.8625 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002533/0.6516, allocations: 1.14 MB / 0.8637 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.6521, allocations: 312.1 kB / 0.8639 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.6522, allocations: 16 kB / 0.864 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007224/0.653, allocations: 71.98 kB / 0.864 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.6532, allocations: 72.91 kB / 0.8641 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.196e-05/0.6533, allocations: 43.91 kB / 0.8641 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009069/0.6542, allocations: 0.7215 MB / 0.8648 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6542, allocations: 0 / 0.8648 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001114/0.6553, allocations: 414.9 kB / 0.8652 GB, free: 1.875 MB / 0.6856 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.2956/0.9509, allocations: 2.301 MB / 0.8675 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002297/0.9532, allocations: 1.027 MB / 0.8685 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.9533, allocations: 0.75 kB / 0.8685 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.9544, allocations: 0.7011 MB / 0.8692 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.956, allocations: 344.4 kB / 0.8695 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.9715, allocations: 8.007 MB / 0.8773 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.9722, allocations: 1.08 MB / 0.8784 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001031/0.9732, allocations: 301.8 kB / 0.8787 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.9737, allocations: 429.1 kB / 0.8791 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.372e-06/0.9737, allocations: 0 / 0.8791 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05984/1.034, allocations: 26.38 MB / 0.9048 GB, free: 171.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.42, allocations: 3.781 kB / 0.9048 GB, free: 171.8 MB / 0.6856 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)