Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",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.001144/0.001144, 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.001133/0.001133, allocations: 193.4 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9454/0.9454, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 67.73 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1667, allocations: 80.93 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.433/0.5998, allocations: 167 MB / 0.7475 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.6207, allocations: 17.12 MB / 0.7642 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.622, allocations: 31.81 kB / 0.7643 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.6234, allocations: 0.5236 MB / 0.7648 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004117/0.6276, allocations: 1.638 MB / 0.7664 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.631, allocations: 1.38 MB / 0.7677 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003381/0.6344, allocations: 2.541 MB / 0.7702 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002352/0.6367, allocations: 1.946 MB / 0.7721 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003627/0.6404, allocations: 1.346 MB / 0.7734 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.6419, allocations: 1.039 MB / 0.7744 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.6423, allocations: 208 kB / 0.7746 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.6456, allocations: 1.509 MB / 0.7761 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007422/0.6464, allocations: 0.7868 MB / 0.7769 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.6478, allocations: 1.181 MB / 0.778 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005013/0.6529, allocations: 3.489 MB / 0.7814 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.6529, allocations: 0 / 0.7814 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6529, allocations: 0 / 0.7814 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.433e-05/0.653, allocations: 0 / 0.7814 GB, free: 3.176 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004988/0.658, allocations: 2.811 MB / 0.7842 GB, free: 312 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.658, allocations: 8.031 kB / 0.7842 GB, free: 304 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002716/0.6583, allocations: 248.5 kB / 0.7844 GB, free: 44 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/0.662, allocations: 0.5629 MB / 0.785 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003807/0.6659, allocations: 3.368 MB / 0.7883 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.285e-05/0.666, allocations: 131.3 kB / 0.7884 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.6662, allocations: 163.9 kB / 0.7885 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003194/0.6694, allocations: 1.884 MB / 0.7904 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.6694, allocations: 4 kB / 0.7904 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.6696, allocations: 71.98 kB / 0.7905 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.6696, allocations: 40 kB / 0.7905 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/0.6729, allocations: 2.065 MB / 0.7925 GB, free: 7.645 MB / 0.6075 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.008659/0.6816, allocations: 6.251 MB / 0.7986 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.6847, allocations: 2.033 MB / 0.8006 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.686, allocations: 0.7413 MB / 0.8013 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/0.6865, allocations: 425.6 kB / 0.8017 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001641/0.6882, allocations: 0.9427 MB / 0.8027 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 3.236e-06/0.6882, allocations: 0 / 0.8027 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.006684/0.6949, allocations: 2.879 MB / 0.8055 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/0.695, allocations: 197.2 kB / 0.8057 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00447/0.6995, allocations: 4.052 MB / 0.8096 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.6996, allocations: 57.7 kB / 0.8097 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007251/0.7004, allocations: 0.8787 MB / 0.8105 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/0.7008, allocations: 461.3 kB / 0.811 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/0.7011, allocations: 230.8 kB / 0.8112 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7013, allocations: 345.9 kB / 0.8115 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.7024, allocations: 0.553 MB / 0.8121 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.7037, allocations: 0.7695 MB / 0.8128 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.706, allocations: 1.279 MB / 0.8141 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.706, allocations: 0 / 0.8141 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004202/0.7102, allocations: 1.729 MB / 0.8157 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.7103, allocations: 4 kB / 0.8157 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.7103, allocations: 4 kB / 0.8158 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.7114, allocations: 208.1 kB / 0.816 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.7129, allocations: 315.6 kB / 0.8163 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/0.7195, allocations: 7.315 MB / 0.8234 GB, free: 6.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.7212, allocations: 164.2 kB / 0.8236 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.7214, allocations: 43.97 kB / 0.8236 GB, free: 6.379 MB / 0.6387 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 (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001129/0.7225, allocations: 480.7 kB / 0.8241 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006123/0.7231, allocations: 189.7 kB / 0.8242 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004845/0.728, allocations: 2.061 MB / 0.8262 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.728, allocations: 16 kB / 0.8263 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.728, allocations: 0 / 0.8263 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.728, allocations: 7.969 kB / 0.8263 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007606/0.7356, allocations: 3.971 MB / 0.8301 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.7357, allocations: 0 / 0.8301 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.7371, allocations: 315.6 kB / 0.8304 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008812/0.738, allocations: 200.1 kB / 0.8306 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.7382, allocations: 43.97 kB / 0.8307 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005567/0.7437, allocations: 7.361 MB / 0.8379 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7438, allocations: 0 / 0.8379 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00409/0.7479, allocations: 1.921 MB / 0.8397 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009438/0.7488, allocations: 0.4942 MB / 0.8402 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/0.7492, allocations: 24 kB / 0.8402 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.7505, allocations: 99.91 kB / 0.8403 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.7508, allocations: 109.1 kB / 0.8404 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.751, allocations: 63.95 kB / 0.8405 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003299/0.7543, allocations: 3.116 MB / 0.8436 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7543, allocations: 0 / 0.8436 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001699/0.756, allocations: 0.6391 MB / 0.8442 GB, free: 424 kB / 0.6544 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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.005727/0.7617, allocations: 3.124 MB / 0.8472 GB, free: 13.46 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006068/0.7678, allocations: 2.406 MB / 0.8496 GB, free: 10.99 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.7678, allocations: 4.797 kB / 0.8496 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003062/0.7709, allocations: 1.379 MB / 0.8509 GB, free: 9.539 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.7735, allocations: 0.524 MB / 0.8514 GB, free: 9.035 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2783/1.052, allocations: 22.27 MB / 0.8732 GB, free: 212 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007872/1.053, allocations: 1.514 MB / 0.8747 GB, free: 211.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001856/1.055, allocations: 0.5166 MB / 0.8752 GB, free: 211.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009141/1.055, allocations: 0.8731 MB / 0.876 GB, free: 210.6 MB / 0.67 GB Notification: Performance of SimCode: time 7.72e-07/1.055, allocations: 0 / 0.876 GB, free: 210.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09916/1.155, allocations: 46.84 MB / 0.9218 GB, free: 199.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.76, allocations: 6.812 kB / 0.9218 GB, free: 199.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)