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.001638/0.001639, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001887/0.001887, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.638/1.638, 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-master/package.mo): time 1.193/1.193, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 64 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2045, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5414/0.7459, allocations: 164.7 MB / 0.7448 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03188/0.7779, allocations: 16.94 MB / 0.7613 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.78, allocations: 31.81 kB / 0.7614 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.7823, allocations: 453.3 kB / 0.7618 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006281/0.7886, allocations: 1.503 MB / 0.7633 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00496/0.7936, allocations: 1.259 MB / 0.7645 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005872/0.7995, allocations: 2.549 MB / 0.767 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005159/0.8047, allocations: 1.966 MB / 0.7689 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009315/0.8141, allocations: 1.343 MB / 0.7702 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003126/0.8172, allocations: 1.078 MB / 0.7713 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001798/0.819, allocations: 212 kB / 0.7715 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006776/0.8258, allocations: 1.54 MB / 0.773 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.8276, allocations: 0.7829 MB / 0.7738 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003391/0.831, allocations: 1.193 MB / 0.7749 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00979/0.8408, allocations: 3.544 MB / 0.7784 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.8409, allocations: 4 kB / 0.7784 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8409, allocations: 4 kB / 0.7784 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001282/0.8411, allocations: 0 / 0.7784 GB, free: 6.184 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.01212/0.8532, allocations: 2.803 MB / 0.7811 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/0.8533, allocations: 12.03 kB / 0.7811 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000915/0.8542, allocations: 241.4 kB / 0.7814 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006306/0.8606, allocations: 0.5705 MB / 0.7819 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00508/0.8657, allocations: 3.36 MB / 0.7852 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.8658, allocations: 123.3 kB / 0.7853 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005192/0.8664, allocations: 167.9 kB / 0.7855 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005732/0.8721, allocations: 1.9 MB / 0.7873 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/0.8722, allocations: 0 / 0.7873 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.8726, allocations: 76 kB / 0.7874 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.08e-05/0.8727, allocations: 40 kB / 0.7874 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004769/0.8774, allocations: 2.061 MB / 0.7895 GB, free: 10.66 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.01325/0.8907, allocations: 6.24 MB / 0.7956 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003886/0.8946, allocations: 2.039 MB / 0.7975 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.8964, allocations: 0.7413 MB / 0.7983 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/0.8971, allocations: 421.7 kB / 0.7987 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002137/0.8992, allocations: 0.9504 MB / 0.7996 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 4.578e-06/0.8993, allocations: 4 kB / 0.7996 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.007465/0.9068, allocations: 2.864 MB / 0.8024 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.907, allocations: 197.2 kB / 0.8026 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005983/0.913, allocations: 4.053 MB / 0.8065 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004038/0.9134, allocations: 57.7 kB / 0.8066 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009946/0.9144, allocations: 0.8748 MB / 0.8075 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007201/0.9152, allocations: 465.2 kB / 0.8079 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005789/0.9158, allocations: 222.8 kB / 0.8081 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.9159, allocations: 353.9 kB / 0.8084 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.9172, allocations: 0.553 MB / 0.809 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.9187, allocations: 0.7735 MB / 0.8097 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/0.9213, allocations: 1.275 MB / 0.811 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.9214, allocations: 0 / 0.811 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.005094/0.9265, allocations: 1.725 MB / 0.8127 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.9265, allocations: 8 kB / 0.8127 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.9266, allocations: 0 / 0.8127 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.9279, allocations: 216.1 kB / 0.8129 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.9298, allocations: 307.6 kB / 0.8132 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009855/0.9397, allocations: 7.319 MB / 0.8203 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/0.9433, allocations: 158.9 kB / 0.8205 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004175/0.9438, allocations: 59.95 kB / 0.8205 GB, free: 9.387 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.002085/0.9459, allocations: 483.4 kB / 0.821 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/0.9471, allocations: 185.7 kB / 0.8212 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009032/0.9562, allocations: 2.059 MB / 0.8232 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/0.9563, allocations: 19.98 kB / 0.8232 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.582e-05/0.9563, allocations: 4 kB / 0.8232 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.885e-05/0.9564, allocations: 7.969 kB / 0.8232 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.9711, allocations: 3.949 MB / 0.8271 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.682e-05/0.9712, allocations: 0 / 0.8271 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00294/0.9742, allocations: 315.5 kB / 0.8274 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.9759, allocations: 200.1 kB / 0.8276 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003166/0.9762, allocations: 35.97 kB / 0.8276 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/0.9865, allocations: 7.364 MB / 0.8348 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.9866, allocations: 4 kB / 0.8348 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008085/0.9947, allocations: 1.924 MB / 0.8367 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/0.9966, allocations: 0.4904 MB / 0.8372 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007175/0.9973, allocations: 31.94 kB / 0.8372 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/0.9999, allocations: 134.8 kB / 0.8373 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004098/1, allocations: 97.17 kB / 0.8374 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003113/1.001, allocations: 63.95 kB / 0.8375 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004506/1.005, allocations: 3.116 MB / 0.8405 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.01e-07/1.005, allocations: 0 / 0.8405 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002053/1.007, allocations: 0.6431 MB / 0.8411 GB, free: 3.41 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.00641/1.014, allocations: 3.121 MB / 0.8442 GB, free: 464 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005397/1.019, allocations: 2.402 MB / 0.8465 GB, free: 13.98 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.019, allocations: 0.7969 kB / 0.8465 GB, free: 13.98 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/1.021, allocations: 1.391 MB / 0.8479 GB, free: 12.53 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004416/1.026, allocations: 0.5254 MB / 0.8484 GB, free: 12.02 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3937/1.419, allocations: 23.02 MB / 0.8709 GB, free: 213.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008906/1.42, allocations: 1.514 MB / 0.8724 GB, free: 212.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001892/1.422, allocations: 0.5162 MB / 0.8729 GB, free: 212.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/1.423, allocations: 0.8736 MB / 0.8737 GB, free: 211.8 MB / 0.67 GB Notification: Performance of SimCode: time 8.12e-07/1.423, allocations: 0 / 0.8737 GB, free: 211.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.506/1.929, allocations: 46.6 MB / 0.9192 GB, free: 200.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/1.93, allocations: 272.1 kB / 0.9195 GB, free: 200.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.863/7.793, allocations: 0 / 0.9195 GB, free: 200.3 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)