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.0009823/0.0009822, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.0009589/0.0009589, allocations: 190.2 kB / 16.25 MB, free: 6.637 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.214/1.214, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6823/0.6823, allocations: 132.2 MB / 422.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 59.41 kB / 0.5014 GB, free: 9.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.118, allocations: 80.2 MB / 0.5797 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.3436/0.4617, allocations: 164.7 MB / 0.7405 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.4784, allocations: 16.94 MB / 0.757 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007404/0.4792, allocations: 29.31 kB / 0.7571 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.4804, allocations: 463.7 kB / 0.7575 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.4836, allocations: 1.505 MB / 0.759 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.4861, allocations: 1.26 MB / 0.7602 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.4882, allocations: 2.543 MB / 0.7627 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.4901, allocations: 1.968 MB / 0.7646 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/0.4941, allocations: 1.346 MB / 0.7659 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000965/0.4951, allocations: 1.08 MB / 0.767 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.4953, allocations: 208 kB / 0.7672 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.4974, allocations: 1.548 MB / 0.7687 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005401/0.4979, allocations: 0.7867 MB / 0.7695 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008756/0.4988, allocations: 1.185 MB / 0.7706 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.5019, allocations: 3.548 MB / 0.7741 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.5019, allocations: 8 kB / 0.7741 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5019, allocations: 0 / 0.7741 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.5019, allocations: 0 / 0.7741 GB, free: 12.13 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.003755/0.5057, allocations: 2.801 MB / 0.7768 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.5057, allocations: 12.03 kB / 0.7768 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/0.506, allocations: 240.6 kB / 0.7771 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/0.5094, allocations: 0.5667 MB / 0.7776 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.5127, allocations: 3.364 MB / 0.7809 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.738e-05/0.5128, allocations: 127.2 kB / 0.781 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.513, allocations: 167.9 kB / 0.7812 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.5158, allocations: 1.892 MB / 0.783 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.5159, allocations: 3.938 kB / 0.783 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.516, allocations: 76 kB / 0.7831 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.5161, allocations: 40 kB / 0.7832 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003108/0.5192, allocations: 2.061 MB / 0.7852 GB, free: 0.6055 MB / 0.5919 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.007504/0.5267, allocations: 6.229 MB / 0.7913 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.5295, allocations: 2.032 MB / 0.7932 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.5307, allocations: 0.7459 MB / 0.794 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005152/0.5312, allocations: 421.8 kB / 0.7944 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001495/0.5327, allocations: 0.9465 MB / 0.7953 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.727e-06/0.5328, allocations: 4 kB / 0.7953 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.005928/0.5387, allocations: 2.868 MB / 0.7981 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/0.5388, allocations: 193.2 kB / 0.7983 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003743/0.5425, allocations: 4.056 MB / 0.8022 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.5427, allocations: 57.69 kB / 0.8023 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006029/0.5433, allocations: 0.8786 MB / 0.8032 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.5436, allocations: 457.3 kB / 0.8036 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/0.5439, allocations: 222.8 kB / 0.8038 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.5441, allocations: 361.8 kB / 0.8041 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009882/0.5451, allocations: 0.553 MB / 0.8047 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.5462, allocations: 0.7766 MB / 0.8054 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.5483, allocations: 1.275 MB / 0.8067 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5483, allocations: 0 / 0.8067 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003347/0.5517, allocations: 1.725 MB / 0.8084 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5517, allocations: 4 kB / 0.8084 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5517, allocations: 0 / 0.8084 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009979/0.5527, allocations: 212.2 kB / 0.8086 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.5541, allocations: 307.6 kB / 0.8089 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/0.5591, allocations: 7.331 MB / 0.816 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.5603, allocations: 171 kB / 0.8162 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.5604, allocations: 47.97 kB / 0.8162 GB, free: 15.34 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.0006598/0.5611, allocations: 469.5 kB / 0.8167 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.5614, allocations: 193.6 kB / 0.8169 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003897/0.5653, allocations: 2.063 MB / 0.8189 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.5653, allocations: 12 kB / 0.8189 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.5653, allocations: 4 kB / 0.8189 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.5654, allocations: 7.969 kB / 0.8189 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005619/0.571, allocations: 3.951 MB / 0.8228 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.571, allocations: 0 / 0.8228 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.5723, allocations: 315.6 kB / 0.8231 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007849/0.5731, allocations: 204.1 kB / 0.8233 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/0.5732, allocations: 39.97 kB / 0.8233 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005456/0.5787, allocations: 7.363 MB / 0.8305 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5787, allocations: 4.031 kB / 0.8305 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/0.5826, allocations: 1.921 MB / 0.8324 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.5836, allocations: 0.4942 MB / 0.8329 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/0.5839, allocations: 27.98 kB / 0.8329 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.5851, allocations: 129.5 kB / 0.833 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.5854, allocations: 97.31 kB / 0.8331 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.5855, allocations: 67.94 kB / 0.8332 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002994/0.5885, allocations: 3.12 MB / 0.8362 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5885, allocations: 4 kB / 0.8362 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001566/0.5901, allocations: 0.6392 MB / 0.8368 GB, free: 9.348 MB / 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.005147/0.5953, allocations: 3.129 MB / 0.8399 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004475/0.5997, allocations: 2.398 MB / 0.8422 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5998, allocations: 0.7969 kB / 0.8422 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.6016, allocations: 1.387 MB / 0.8436 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.6035, allocations: 0.5208 MB / 0.8441 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2289/0.8325, allocations: 23.02 MB / 0.8666 GB, free: 217.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007162/0.8332, allocations: 1.518 MB / 0.8681 GB, free: 217.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001675/0.8349, allocations: 0.5085 MB / 0.8686 GB, free: 217.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008467/0.8357, allocations: 0.8717 MB / 0.8694 GB, free: 216.8 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/0.8358, allocations: 0 / 0.8694 GB, free: 216.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6348/1.471, allocations: 46.6 MB / 0.9149 GB, free: 206.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/1.471, allocations: 270.7 kB / 0.9152 GB, free: 205.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.124/4.594, allocations: 2.188 kB / 0.9152 GB, free: 205.9 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)