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.005281/0.005281, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001302/0.001302, allocations: 195.4 kB / 16.67 MB, free: 5.934 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9508/0.9508, allocations: 135.6 MB / 426.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.89 kB / 0.5857 GB, free: 3.18 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4104, allocations: 81.01 MB / 0.6649 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1801/0.5906, allocations: 153.8 MB / 0.815 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.6054, allocations: 10.4 MB / 0.8252 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/0.6064, allocations: 19.88 kB / 0.8252 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009584/0.6073, allocations: 253.9 kB / 0.8254 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.6101, allocations: 0.8985 MB / 0.8263 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.6128, allocations: 1.028 MB / 0.8273 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002018/0.6148, allocations: 1.515 MB / 0.8288 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.6166, allocations: 1.149 MB / 0.8299 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.6185, allocations: 0.6683 MB / 0.8306 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008877/0.6194, allocations: 0.5445 MB / 0.8311 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.6197, allocations: 124 kB / 0.8312 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.6218, allocations: 1.014 MB / 0.8322 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.6222, allocations: 354.9 kB / 0.8326 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008155/0.623, allocations: 0.6139 MB / 0.8332 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.6264, allocations: 2.087 MB / 0.8352 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6265, allocations: 0 / 0.8352 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6265, allocations: 4 kB / 0.8352 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.137e-05/0.6265, allocations: 0 / 0.8352 GB, free: 1.793 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.003394/0.6299, allocations: 1.674 MB / 0.8368 GB, free: 60 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.63, allocations: 12.02 kB / 0.8368 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002394/0.6302, allocations: 143.8 kB / 0.837 GB, free: 15.89 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.6319, allocations: 270.9 kB / 0.8372 GB, free: 15.63 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.6335, allocations: 1.043 MB / 0.8383 GB, free: 14.55 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.6336, allocations: 74 kB / 0.8383 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.6338, allocations: 88 kB / 0.8384 GB, free: 14.39 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.6357, allocations: 1.046 MB / 0.8394 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.6358, allocations: 0 / 0.8394 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.6359, allocations: 40 kB / 0.8395 GB, free: 13.27 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.6359, allocations: 20 kB / 0.8395 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.6382, allocations: 1.276 MB / 0.8407 GB, free: 11.97 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.005179/0.6434, allocations: 3.117 MB / 0.8438 GB, free: 8.746 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.6453, allocations: 1.014 MB / 0.8448 GB, free: 7.707 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000739/0.646, allocations: 389.2 kB / 0.8451 GB, free: 7.328 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002676/0.6463, allocations: 138.7 kB / 0.8453 GB, free: 7.172 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.6473, allocations: 0.5475 MB / 0.8458 GB, free: 6.609 MB / 0.67 GB Notification: Performance of pre-optimization done (n=86): time 2.334e-06/0.6474, allocations: 0 / 0.8458 GB, free: 6.609 MB / 0.67 GB Notification: Performance of matching and sorting (n=86): time 0.004078/0.6514, allocations: 1.507 MB / 0.8473 GB, free: 5.055 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.6516, allocations: 192.9 kB / 0.8475 GB, free: 4.824 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.6528, allocations: 0.9775 MB / 0.8484 GB, free: 3.836 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.056e-05/0.6529, allocations: 41.7 kB / 0.8485 GB, free: 3.789 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.6533, allocations: 465 kB / 0.8489 GB, free: 3.328 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.6536, allocations: 301.3 kB / 0.8492 GB, free: 3.031 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.6539, allocations: 158.5 kB / 0.8493 GB, free: 2.871 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.654, allocations: 337.9 kB / 0.8497 GB, free: 2.535 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/0.6547, allocations: 301.8 kB / 0.85 GB, free: 2.238 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007861/0.6555, allocations: 441.1 kB / 0.8504 GB, free: 1.773 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/0.6569, allocations: 0.7062 MB / 0.8511 GB, free: 1.059 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6569, allocations: 4 kB / 0.8511 GB, free: 1.055 MB / 0.67 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002381/0.6593, allocations: 0.967 MB / 0.852 GB, free: 72 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6594, allocations: 4 kB / 0.852 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6594, allocations: 4 kB / 0.852 GB, free: 64 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007515/0.6601, allocations: 109.7 kB / 0.8521 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/0.6609, allocations: 183.7 kB / 0.8523 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.6646, allocations: 3.064 MB / 0.8553 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008311/0.6654, allocations: 107.5 kB / 0.8554 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.6655, allocations: 27.98 kB / 0.8554 GB, free: 12.28 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.0005355/0.6661, allocations: 291.8 kB / 0.8557 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.6663, allocations: 99.39 kB / 0.8558 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.6691, allocations: 1.216 MB / 0.857 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.6691, allocations: 12 kB / 0.857 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6691, allocations: 0 / 0.857 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6692, allocations: 3.984 kB / 0.857 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/0.6731, allocations: 2.256 MB / 0.8592 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.6731, allocations: 8 kB / 0.8592 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008176/0.674, allocations: 187.7 kB / 0.8594 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005775/0.6746, allocations: 101.6 kB / 0.8595 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/0.6746, allocations: 31.97 kB / 0.8595 GB, free: 8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.6779, allocations: 3.096 MB / 0.8625 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6779, allocations: 0 / 0.8625 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.6805, allocations: 1.144 MB / 0.8637 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.681, allocations: 312.1 kB / 0.864 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.6811, allocations: 16 kB / 0.864 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/0.6818, allocations: 67.98 kB / 0.864 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.682, allocations: 76.91 kB / 0.8641 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.6821, allocations: 43.91 kB / 0.8641 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009841/0.6831, allocations: 0.7215 MB / 0.8649 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6831, allocations: 3.938 kB / 0.8649 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001198/0.6843, allocations: 414.9 kB / 0.8653 GB, free: 1.801 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.3119/0.9962, allocations: 2.291 MB / 0.8675 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002478/0.9987, allocations: 1.028 MB / 0.8685 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.9988, allocations: 0.9062 kB / 0.8685 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/1, allocations: 0.7013 MB / 0.8692 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/1.002, allocations: 344.4 kB / 0.8695 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/1.017, allocations: 8.007 MB / 0.8773 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/1.017, allocations: 1.078 MB / 0.8784 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001119/1.018, allocations: 300.5 kB / 0.8787 GB, free: 186 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/1.019, allocations: 438.9 kB / 0.8791 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of SimCode: time 1.122e-06/1.019, allocations: 0 / 0.8791 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09263/1.112, allocations: 26.38 MB / 0.9049 GB, free: 171.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/14.64, allocations: 15.78 kB / 0.9049 GB, free: 171.7 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)