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.0006542/0.0006542, allocations: 90.75 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.003828/0.003828, allocations: 173 kB / 16.26 MB, free: 6.613 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.146/1.146, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7981/0.7981, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 8.875 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 82.31 MB / 0.5881 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.3585/0.4916, allocations: 162.5 MB / 0.7467 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.5097, allocations: 16.93 MB / 0.7633 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009634/0.5107, allocations: 26.62 kB / 0.7633 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.5119, allocations: 455 kB / 0.7637 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.5155, allocations: 1.463 MB / 0.7652 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.5182, allocations: 1.232 MB / 0.7664 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002765/0.521, allocations: 2.794 MB / 0.7691 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.5231, allocations: 1.686 MB / 0.7707 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003969/0.5271, allocations: 1.045 MB / 0.7718 GB, free: 156 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008709/0.528, allocations: 0.8357 MB / 0.7726 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.5281, allocations: 44 kB / 0.7726 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.5303, allocations: 1.501 MB / 0.7741 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004498/0.5308, allocations: 0.5798 MB / 0.7746 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007653/0.5315, allocations: 0.9914 MB / 0.7756 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.5344, allocations: 3.348 MB / 0.7789 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5344, allocations: 4 kB / 0.7789 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5344, allocations: 0 / 0.7789 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.5344, allocations: 0 / 0.7789 GB, free: 8.816 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.003256/0.5377, allocations: 2.34 MB / 0.7812 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.5377, allocations: 12.03 kB / 0.7812 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002511/0.538, allocations: 236.6 kB / 0.7814 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003234/0.5412, allocations: 0.5746 MB / 0.782 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/0.5444, allocations: 3.366 MB / 0.7853 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.814e-05/0.5445, allocations: 123.3 kB / 0.7854 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.5447, allocations: 163.9 kB / 0.7855 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.5476, allocations: 1.904 MB / 0.7874 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.5477, allocations: 0 / 0.7874 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.5478, allocations: 75.94 kB / 0.7875 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.5478, allocations: 40 kB / 0.7875 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003201/0.5511, allocations: 2.085 MB / 0.7895 GB, free: 13.72 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.007579/0.5586, allocations: 6.263 MB / 0.7957 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/0.5616, allocations: 2.044 MB / 0.7976 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.5628, allocations: 0.7569 MB / 0.7984 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004823/0.5632, allocations: 433.7 kB / 0.7988 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001485/0.5647, allocations: 0.9505 MB / 0.7997 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.224e-06/0.5648, allocations: 0 / 0.7997 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006008/0.5708, allocations: 2.91 MB / 0.8026 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/0.5709, allocations: 197.2 kB / 0.8028 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003879/0.5748, allocations: 4.049 MB / 0.8067 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.5749, allocations: 53.7 kB / 0.8068 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006281/0.5755, allocations: 0.8748 MB / 0.8076 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.5758, allocations: 457.2 kB / 0.8081 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.576, allocations: 93.66 kB / 0.8081 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5761, allocations: 357.9 kB / 0.8085 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.5771, allocations: 0.5608 MB / 0.809 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.5783, allocations: 0.7801 MB / 0.8098 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.5805, allocations: 1.306 MB / 0.8111 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5805, allocations: 0 / 0.8111 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003356/0.5839, allocations: 1.736 MB / 0.8128 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5839, allocations: 7.984 kB / 0.8128 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5839, allocations: 0 / 0.8128 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009763/0.5849, allocations: 220.1 kB / 0.813 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.5863, allocations: 319.5 kB / 0.8133 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/0.5915, allocations: 6.803 MB / 0.8199 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.5926, allocations: 185.5 kB / 0.8201 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/0.5927, allocations: 51.91 kB / 0.8202 GB, free: 12.97 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.0006293/0.5934, allocations: 474.2 kB / 0.8206 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.5936, allocations: 181.8 kB / 0.8208 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.5977, allocations: 2.086 MB / 0.8228 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5977, allocations: 16 kB / 0.8228 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5977, allocations: 3.938 kB / 0.8228 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.5978, allocations: 11.91 kB / 0.8229 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005794/0.6036, allocations: 3.976 MB / 0.8267 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.6036, allocations: 0 / 0.8267 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.6049, allocations: 319.6 kB / 0.827 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00089/0.6058, allocations: 220 kB / 0.8273 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.549e-05/0.6059, allocations: 39.97 kB / 0.8273 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005044/0.611, allocations: 6.848 MB / 0.834 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.611, allocations: 4.031 kB / 0.834 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/0.6145, allocations: 1.94 MB / 0.8359 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006424/0.6151, allocations: 0.502 MB / 0.8364 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.6153, allocations: 35.92 kB / 0.8364 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.6165, allocations: 139.8 kB / 0.8365 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.6167, allocations: 101.1 kB / 0.8366 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.6169, allocations: 67.94 kB / 0.8367 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002934/0.6198, allocations: 3.116 MB / 0.8397 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6198, allocations: 0 / 0.8397 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001357/0.6212, allocations: 0.6508 MB / 0.8404 GB, free: 7.418 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.005272/0.6265, allocations: 3.136 MB / 0.8434 GB, free: 4.445 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002962/0.6294, allocations: 2.016 MB / 0.8454 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6294, allocations: 8.734 kB / 0.8454 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.6313, allocations: 1.391 MB / 0.8468 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.6333, allocations: 497.1 kB / 0.8472 GB, free: 432 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2322/0.8655, allocations: 23.13 MB / 0.8698 GB, free: 210 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/0.8664, allocations: 1.509 MB / 0.8713 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001592/0.868, allocations: 0.5129 MB / 0.8718 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009016/0.8689, allocations: 0.8758 MB / 0.8727 GB, free: 209.3 MB / 0.67 GB Notification: Performance of SimCode: time 9.12e-07/0.8689, allocations: 0 / 0.8727 GB, free: 209.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.268/4.137, allocations: 44.49 MB / 0.9161 GB, free: 199.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/4.137, allocations: 280.5 kB / 0.9164 GB, free: 199.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/7.207, allocations: 0 / 0.9164 GB, free: 199.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)