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.0007865/0.0007865, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.004625/0.004625, allocations: 172 kB / 16.26 MB, free: 6.676 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.764/0.764, allocations: 132.3 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 8 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3886, allocations: 81.57 MB / 0.5837 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.172/0.5606, allocations: 162.5 MB / 0.7424 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02029/0.5809, allocations: 16.93 MB / 0.7589 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.5822, allocations: 27.81 kB / 0.759 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.5835, allocations: 457.2 kB / 0.7594 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004085/0.5876, allocations: 1.468 MB / 0.7608 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.5907, allocations: 1.236 MB / 0.762 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002793/0.5935, allocations: 2.783 MB / 0.7648 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.5955, allocations: 1.694 MB / 0.7664 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004128/0.5996, allocations: 1.05 MB / 0.7674 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009468/0.6006, allocations: 0.8278 MB / 0.7683 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.6007, allocations: 44 kB / 0.7683 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.6033, allocations: 1.513 MB / 0.7698 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.6038, allocations: 0.5799 MB / 0.7703 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008258/0.6046, allocations: 0.9837 MB / 0.7713 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003124/0.6077, allocations: 3.363 MB / 0.7746 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.6077, allocations: 0 / 0.7746 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6077, allocations: 0 / 0.7746 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.6078, allocations: 0 / 0.7746 GB, free: 12.21 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.003493/0.6113, allocations: 2.337 MB / 0.7769 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.6113, allocations: 15.97 kB / 0.7769 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002695/0.6116, allocations: 240.6 kB / 0.7771 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003506/0.6151, allocations: 0.5629 MB / 0.7777 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003508/0.6186, allocations: 3.374 MB / 0.781 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/0.6187, allocations: 127.2 kB / 0.7811 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002296/0.619, allocations: 160 kB / 0.7812 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003112/0.6221, allocations: 1.9 MB / 0.7831 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.6221, allocations: 0 / 0.7831 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.6223, allocations: 68 kB / 0.7832 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.6223, allocations: 40 kB / 0.7832 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/0.6257, allocations: 2.085 MB / 0.7852 GB, free: 1.125 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.008285/0.634, allocations: 6.275 MB / 0.7914 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/0.6371, allocations: 2.04 MB / 0.7933 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.6384, allocations: 0.7536 MB / 0.7941 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.6389, allocations: 425.7 kB / 0.7945 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00158/0.6405, allocations: 0.9661 MB / 0.7954 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 4.721e-05/0.6406, allocations: 0 / 0.7954 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.006732/0.6473, allocations: 2.903 MB / 0.7983 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.6474, allocations: 197.2 kB / 0.7985 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/0.6519, allocations: 4.056 MB / 0.8024 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.6521, allocations: 53.7 kB / 0.8025 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007355/0.6529, allocations: 0.8825 MB / 0.8033 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.6533, allocations: 449.4 kB / 0.8038 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.6534, allocations: 93.66 kB / 0.8038 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6535, allocations: 349.9 kB / 0.8042 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.6547, allocations: 0.5608 MB / 0.8047 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.6559, allocations: 0.7813 MB / 0.8055 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.6583, allocations: 1.298 MB / 0.8068 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6583, allocations: 8 kB / 0.8068 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003691/0.662, allocations: 1.736 MB / 0.8085 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.662, allocations: 4 kB / 0.8085 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.662, allocations: 3.984 kB / 0.8085 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.6631, allocations: 212.2 kB / 0.8087 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.6646, allocations: 315.6 kB / 0.809 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006059/0.6707, allocations: 6.815 MB / 0.8156 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.6724, allocations: 185.7 kB / 0.8158 GB, free: 396 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.6726, allocations: 43.97 kB / 0.8158 GB, free: 352 kB / 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.2788/0.9513, allocations: 477.3 kB / 0.8163 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006623/0.952, allocations: 190.3 kB / 0.8165 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006439/0.9585, allocations: 2.084 MB / 0.8185 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.9585, allocations: 14.41 kB / 0.8185 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.9585, allocations: 1.25 kB / 0.8185 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.361e-05/0.9585, allocations: 11.34 kB / 0.8185 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009323/0.9679, allocations: 3.964 MB / 0.8224 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.9679, allocations: 5.625 kB / 0.8224 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/0.97, allocations: 319 kB / 0.8227 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.9713, allocations: 208.2 kB / 0.8229 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.9714, allocations: 40.83 kB / 0.823 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005992/0.9774, allocations: 6.851 MB / 0.8297 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.9775, allocations: 1.281 kB / 0.8297 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005664/0.9831, allocations: 1.945 MB / 0.8316 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/0.9846, allocations: 0.5068 MB / 0.832 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004746/0.9851, allocations: 23.52 kB / 0.8321 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/0.9872, allocations: 148.3 kB / 0.8322 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003925/0.9876, allocations: 99.41 kB / 0.8323 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000265/0.9879, allocations: 67.39 kB / 0.8324 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.005707/0.9936, allocations: 3.117 MB / 0.8354 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.9e-07/0.9936, allocations: 0 / 0.8354 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002311/0.9959, allocations: 0.6499 MB / 0.836 GB, free: 205.6 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.006134/1.002, allocations: 3.149 MB / 0.8391 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003234/1.005, allocations: 2.005 MB / 0.8411 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.005, allocations: 9.125 kB / 0.8411 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/1.007, allocations: 1.387 MB / 0.8424 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.01, allocations: 0.4939 MB / 0.8429 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02592/1.036, allocations: 23.13 MB / 0.8655 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/1.037, allocations: 1.521 MB / 0.867 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001569/1.038, allocations: 0.5086 MB / 0.8675 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008464/1.039, allocations: 0.8741 MB / 0.8684 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of SimCode: time 8.21e-07/1.039, allocations: 0 / 0.8684 GB, free: 179.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3977/1.437, allocations: 44.49 MB / 0.9118 GB, free: 135.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/1.437, allocations: 280.3 kB / 0.9121 GB, free: 135.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.335/4.772, allocations: 0 / 0.9121 GB, free: 135.5 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 & /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)