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.005183/0.005183, allocations: 98.31 kB / 15.73 MB, free: 5.555 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.001192/0.001192, allocations: 196.2 kB / 16.68 MB, free: 5.484 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9491/0.9491, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.89 kB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4085, allocations: 80.91 MB / 0.6641 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1598/0.5683, allocations: 153.8 MB / 0.8143 GB, free: 7.211 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01357/0.5819, allocations: 10.39 MB / 0.8245 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008139/0.5828, allocations: 23.88 kB / 0.8245 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.5839, allocations: 261.9 kB / 0.8247 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.5868, allocations: 0.8964 MB / 0.8256 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.5895, allocations: 1.049 MB / 0.8266 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.5917, allocations: 1.515 MB / 0.8281 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.5936, allocations: 1.138 MB / 0.8292 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.5958, allocations: 0.6669 MB / 0.8299 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009032/0.5967, allocations: 0.56 MB / 0.8304 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003302/0.5971, allocations: 124 kB / 0.8306 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.5993, allocations: 1.018 MB / 0.8316 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.5997, allocations: 350.9 kB / 0.8319 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008242/0.6005, allocations: 0.6101 MB / 0.8325 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.6035, allocations: 2.091 MB / 0.8345 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6035, allocations: 0 / 0.8345 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6035, allocations: 0 / 0.8345 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.6036, allocations: 8 kB / 0.8345 GB, free: 2.477 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.002645/0.6062, allocations: 1.674 MB / 0.8362 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.6063, allocations: 8.031 kB / 0.8362 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.6064, allocations: 151.7 kB / 0.8363 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.608, allocations: 262.9 kB / 0.8366 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.6095, allocations: 1.047 MB / 0.8376 GB, free: 15.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.288e-05/0.6096, allocations: 69.94 kB / 0.8377 GB, free: 15.16 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.6098, allocations: 96 kB / 0.8378 GB, free: 15.07 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.6115, allocations: 1.047 MB / 0.8388 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.6115, allocations: 0 / 0.8388 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/0.6116, allocations: 36 kB / 0.8388 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.6117, allocations: 24 kB / 0.8388 GB, free: 13.92 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.6137, allocations: 1.272 MB / 0.8401 GB, free: 12.65 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.004505/0.6182, allocations: 3.106 MB / 0.8431 GB, free: 9.43 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.6199, allocations: 1.01 MB / 0.8441 GB, free: 8.395 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.6206, allocations: 393.2 kB / 0.8445 GB, free: 8.012 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.6209, allocations: 138.7 kB / 0.8446 GB, free: 7.855 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00098/0.6218, allocations: 0.5552 MB / 0.8451 GB, free: 7.285 MB / 0.67 GB Notification: Performance of pre-optimization done (n=86): time 2.364e-06/0.6219, allocations: 0 / 0.8451 GB, free: 7.285 MB / 0.67 GB Notification: Performance of matching and sorting (n=86): time 0.003716/0.6256, allocations: 1.507 MB / 0.8466 GB, free: 5.73 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/0.6257, allocations: 192.9 kB / 0.8468 GB, free: 5.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.6267, allocations: 0.9775 MB / 0.8478 GB, free: 4.516 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.6268, allocations: 45.7 kB / 0.8478 GB, free: 4.465 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.6271, allocations: 453 kB / 0.8482 GB, free: 4.016 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.6273, allocations: 305.4 kB / 0.8485 GB, free: 3.715 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.6276, allocations: 154.6 kB / 0.8487 GB, free: 3.559 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6277, allocations: 337.9 kB / 0.849 GB, free: 3.223 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/0.6283, allocations: 305.8 kB / 0.8493 GB, free: 2.922 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007113/0.629, allocations: 433 kB / 0.8497 GB, free: 2.465 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.6304, allocations: 0.7062 MB / 0.8504 GB, free: 1.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6304, allocations: 7.938 kB / 0.8504 GB, free: 1.742 MB / 0.67 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002185/0.6326, allocations: 0.9631 MB / 0.8513 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.6326, allocations: 15.92 kB / 0.8513 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6326, allocations: 0 / 0.8513 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000693/0.6333, allocations: 117.6 kB / 0.8515 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/0.6341, allocations: 179.8 kB / 0.8516 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/0.637, allocations: 3.06 MB / 0.8546 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007082/0.6377, allocations: 99.52 kB / 0.8547 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.6378, allocations: 27.98 kB / 0.8547 GB, free: 12.97 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.0004312/0.6383, allocations: 292.1 kB / 0.855 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.6384, allocations: 99.39 kB / 0.8551 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.6411, allocations: 1.232 MB / 0.8563 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.6411, allocations: 8 kB / 0.8563 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6411, allocations: 0 / 0.8563 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6411, allocations: 7.984 kB / 0.8563 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.6448, allocations: 2.26 MB / 0.8585 GB, free: 9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.6448, allocations: 0 / 0.8585 GB, free: 9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007951/0.6456, allocations: 179.8 kB / 0.8587 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005509/0.6462, allocations: 109.6 kB / 0.8588 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/0.6462, allocations: 23.98 kB / 0.8588 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002838/0.6491, allocations: 3.096 MB / 0.8619 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6491, allocations: 80 / 0.8619 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.6514, allocations: 1.148 MB / 0.863 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.6519, allocations: 304.1 kB / 0.8633 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6521, allocations: 16 kB / 0.8633 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/0.6528, allocations: 75.91 kB / 0.8634 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.653, allocations: 72.89 kB / 0.8634 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/0.653, allocations: 35.98 kB / 0.8635 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008319/0.6539, allocations: 0.7254 MB / 0.8642 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6539, allocations: 0 / 0.8642 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001181/0.6551, allocations: 422.9 kB / 0.8646 GB, free: 2.488 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.004089/0.6592, allocations: 2.308 MB / 0.8668 GB, free: 348 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.2989/0.9581, allocations: 1.023 MB / 0.8678 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.9582, allocations: 1.062 kB / 0.8678 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.9594, allocations: 0.7022 MB / 0.8685 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.961, allocations: 339 kB / 0.8688 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.9751, allocations: 8.005 MB / 0.8767 GB, free: 187 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.9758, allocations: 1.076 MB / 0.8777 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001007/0.9768, allocations: 300.5 kB / 0.878 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005096/0.9773, allocations: 436.9 kB / 0.8784 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/0.9773, allocations: 0 / 0.8784 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05008/1.027, allocations: 26.39 MB / 0.9042 GB, free: 173.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.97, allocations: 14.67 kB / 0.9042 GB, free: 173.1 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)