Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_Angles,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_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.001502/0.001502, 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.001335/0.001335, allocations: 192.1 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.76/0.76, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.09 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3902, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1932/0.5834, allocations: 167 MB / 0.7433 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.6044, allocations: 17.11 MB / 0.76 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.606, allocations: 31.81 kB / 0.76 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.6075, allocations: 0.5274 MB / 0.7605 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.6119, allocations: 1.657 MB / 0.7621 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.6151, allocations: 1.364 MB / 0.7635 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002925/0.6181, allocations: 2.537 MB / 0.766 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.6206, allocations: 1.959 MB / 0.7679 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/0.6244, allocations: 1.348 MB / 0.7692 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.6257, allocations: 1.038 MB / 0.7702 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003609/0.6261, allocations: 208 kB / 0.7704 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003273/0.6294, allocations: 1.509 MB / 0.7719 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007709/0.6302, allocations: 0.7789 MB / 0.7726 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.6314, allocations: 1.189 MB / 0.7738 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004944/0.6364, allocations: 3.482 MB / 0.7772 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.6364, allocations: 0 / 0.7772 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.907e-06/0.6365, allocations: 0 / 0.7772 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.999e-05/0.6365, allocations: 0 / 0.7772 GB, free: 7.082 MB / 0.6075 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.00529/0.6418, allocations: 2.808 MB / 0.7799 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.6419, allocations: 8.031 kB / 0.7799 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002776/0.6422, allocations: 248.5 kB / 0.7802 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003737/0.6459, allocations: 0.5628 MB / 0.7807 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004059/0.65, allocations: 3.362 MB / 0.784 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.6501, allocations: 131.2 kB / 0.7841 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.6503, allocations: 167.9 kB / 0.7843 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003283/0.6536, allocations: 1.892 MB / 0.7861 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.6537, allocations: 0 / 0.7861 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.6538, allocations: 72 kB / 0.7862 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.6539, allocations: 40 kB / 0.7862 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.6575, allocations: 2.069 MB / 0.7883 GB, free: 11.54 MB / 0.6231 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.008802/0.6663, allocations: 6.233 MB / 0.7944 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.6695, allocations: 2.037 MB / 0.7963 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.6708, allocations: 0.7412 MB / 0.7971 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/0.6714, allocations: 429.7 kB / 0.7975 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/0.6731, allocations: 0.9388 MB / 0.7984 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 4.068e-06/0.6732, allocations: 0 / 0.7984 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.007291/0.6804, allocations: 2.864 MB / 0.8012 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.6806, allocations: 201.2 kB / 0.8014 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005233/0.6858, allocations: 4.056 MB / 0.8053 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/0.6861, allocations: 57.7 kB / 0.8054 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008547/0.6869, allocations: 0.8787 MB / 0.8063 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004729/0.6874, allocations: 457.2 kB / 0.8067 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/0.6878, allocations: 226.8 kB / 0.8069 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.688, allocations: 349.9 kB / 0.8072 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.6892, allocations: 0.553 MB / 0.8078 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.6906, allocations: 0.7735 MB / 0.8085 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/0.693, allocations: 1.278 MB / 0.8098 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.6931, allocations: 4 kB / 0.8098 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004134/0.6972, allocations: 1.721 MB / 0.8115 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.6972, allocations: 8 kB / 0.8115 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.6973, allocations: 0 / 0.8115 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.6983, allocations: 212.1 kB / 0.8117 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.6999, allocations: 311.6 kB / 0.812 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2664/0.9663, allocations: 7.323 MB / 0.8191 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.9678, allocations: 157 kB / 0.8193 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.968, allocations: 49.52 kB / 0.8193 GB, free: 211.9 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.0008482/0.9688, allocations: 470.5 kB / 0.8198 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003683/0.9692, allocations: 192 kB / 0.82 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004603/0.9738, allocations: 2.062 MB / 0.822 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.9738, allocations: 14.44 kB / 0.822 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.9739, allocations: 3.5 kB / 0.822 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.9739, allocations: 7.031 kB / 0.822 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006959/0.9808, allocations: 3.96 MB / 0.8259 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.9809, allocations: 1.188 kB / 0.8259 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/0.9824, allocations: 315.9 kB / 0.8262 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008828/0.9833, allocations: 198.8 kB / 0.8264 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.392e-05/0.9834, allocations: 35.09 kB / 0.8264 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004499/0.9879, allocations: 7.361 MB / 0.8336 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9879, allocations: 0 / 0.8336 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004227/0.9922, allocations: 1.924 MB / 0.8355 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008731/0.9931, allocations: 0.4944 MB / 0.8359 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.9933, allocations: 27.28 kB / 0.836 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.9945, allocations: 98.58 kB / 0.8361 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.9948, allocations: 108.8 kB / 0.8362 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.9949, allocations: 63.03 kB / 0.8362 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00287/0.9978, allocations: 3.118 MB / 0.8393 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9978, allocations: 0 / 0.8393 GB, free: 200.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001642/0.9994, allocations: 0.6354 MB / 0.8399 GB, free: 200.2 MB / 0.6387 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.005273/1.005, allocations: 3.139 MB / 0.843 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004925/1.01, allocations: 2.408 MB / 0.8453 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/1.01, allocations: 9.812 kB / 0.8453 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.012, allocations: 1.384 MB / 0.8467 GB, free: 197 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/1.014, allocations: 0.5199 MB / 0.8472 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02694/1.041, allocations: 22.28 MB / 0.8689 GB, free: 178.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007598/1.042, allocations: 1.512 MB / 0.8704 GB, free: 176.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001851/1.044, allocations: 0.5127 MB / 0.8709 GB, free: 176.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009191/1.045, allocations: 0.8818 MB / 0.8718 GB, free: 175.3 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/1.045, allocations: 0 / 0.8718 GB, free: 175.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07664/1.121, allocations: 46.82 MB / 0.9175 GB, free: 129 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.72, allocations: 21.47 kB / 0.9175 GB, free: 129 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)