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.0009167/0.0009168, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0009681/0.0009681, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.2 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7813/0.7813, allocations: 132.3 MB / 423.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 8 kB / 0.5035 GB, free: 4.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.4574, allocations: 81.58 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1844/0.6419, allocations: 151.6 MB / 0.7312 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.6632, allocations: 15.86 MB / 0.7466 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/0.6648, allocations: 27.81 kB / 0.7467 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.6662, allocations: 377.3 kB / 0.747 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.6701, allocations: 1.286 MB / 0.7483 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.6733, allocations: 1.09 MB / 0.7494 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003463/0.6768, allocations: 2.47 MB / 0.7518 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002561/0.6794, allocations: 1.464 MB / 0.7532 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.6818, allocations: 0.9687 MB / 0.7541 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.6832, allocations: 0.8125 MB / 0.7549 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003873/0.6836, allocations: 48 kB / 0.755 GB, free: 116 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.6867, allocations: 1.006 MB / 0.756 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008771/0.6876, allocations: 0.58 MB / 0.7565 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008175/0.6884, allocations: 400.5 kB / 0.7569 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003451/0.6918, allocations: 2.556 MB / 0.7594 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6919, allocations: 0 / 0.7594 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6919, allocations: 0 / 0.7594 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.00012/0.692, allocations: 0 / 0.7594 GB, free: 11.56 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.004932/0.6969, allocations: 2.367 MB / 0.7617 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.697, allocations: 12.03 kB / 0.7617 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000571/0.6976, allocations: 240.6 kB / 0.762 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003628/0.7012, allocations: 0.5668 MB / 0.7625 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004101/0.7053, allocations: 3.297 MB / 0.7657 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.7054, allocations: 123.3 kB / 0.7658 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003161/0.7058, allocations: 168 kB / 0.766 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003552/0.7093, allocations: 1.884 MB / 0.7678 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.7094, allocations: 0 / 0.7678 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/0.7096, allocations: 75.95 kB / 0.7679 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.7096, allocations: 43.94 kB / 0.768 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/0.713, allocations: 2.077 MB / 0.77 GB, free: 0.5391 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.009007/0.722, allocations: 6.257 MB / 0.7761 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.725, allocations: 2.032 MB / 0.7781 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.7262, allocations: 0.7498 MB / 0.7788 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000531/0.7268, allocations: 429.7 kB / 0.7792 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001532/0.7283, allocations: 0.9388 MB / 0.7801 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.667e-06/0.7283, allocations: 0 / 0.7801 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006152/0.7345, allocations: 2.907 MB / 0.783 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.7346, allocations: 201.2 kB / 0.7832 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004956/0.7396, allocations: 4.033 MB / 0.7871 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002638/0.7398, allocations: 57.7 kB / 0.7872 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008382/0.7407, allocations: 0.8787 MB / 0.788 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/0.7412, allocations: 461.2 kB / 0.7885 GB, free: 13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/0.7413, allocations: 24 kB / 0.7885 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7415, allocations: 345.9 kB / 0.7888 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.7426, allocations: 0.5569 MB / 0.7894 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.7438, allocations: 0.7774 MB / 0.7901 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.745, allocations: 0.6427 MB / 0.7908 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7451, allocations: 4 kB / 0.7908 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003641/0.7487, allocations: 1.74 MB / 0.7925 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.7487, allocations: 4 kB / 0.7925 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7488, allocations: 0 / 0.7925 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009724/0.7497, allocations: 212.1 kB / 0.7927 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.7512, allocations: 323.5 kB / 0.793 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006011/0.7572, allocations: 6.802 MB / 0.7996 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.759, allocations: 170.9 kB / 0.7998 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.7592, allocations: 51.97 kB / 0.7998 GB, free: 0.5859 MB / 0.6231 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001274/0.7605, allocations: 480.1 kB / 0.8003 GB, free: 112 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007585/0.7613, allocations: 193.7 kB / 0.8005 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005048/0.7663, allocations: 2.082 MB / 0.8025 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.7664, allocations: 16 kB / 0.8025 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.7664, allocations: 3.984 kB / 0.8025 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.7664, allocations: 3.984 kB / 0.8025 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007299/0.7737, allocations: 3.96 MB / 0.8064 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.7737, allocations: 0 / 0.8064 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.7751, allocations: 319.6 kB / 0.8067 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008231/0.7759, allocations: 212.1 kB / 0.8069 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.7761, allocations: 39.97 kB / 0.8069 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/0.781, allocations: 6.841 MB / 0.8136 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.781, allocations: 7.969 kB / 0.8136 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3036/1.085, allocations: 1.924 MB / 0.8155 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.086, allocations: 0.5053 MB / 0.816 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/1.087, allocations: 31.45 kB / 0.816 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.088, allocations: 140.4 kB / 0.8162 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/1.088, allocations: 105.5 kB / 0.8163 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.088, allocations: 72.11 kB / 0.8163 GB, free: 214 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004556/1.093, allocations: 3.103 MB / 0.8194 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.6e-07/1.093, allocations: 0 / 0.8194 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003208/1.096, allocations: 0.6366 MB / 0.82 GB, free: 213.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006109/1.102, allocations: 3.121 MB / 0.823 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003505/1.106, allocations: 2.002 MB / 0.825 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.106, allocations: 7.062 kB / 0.825 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/1.108, allocations: 1.381 MB / 0.8263 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/1.11, allocations: 0.4949 MB / 0.8268 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/1.139, allocations: 19.1 MB / 0.8455 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008509/1.14, allocations: 1.521 MB / 0.847 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001952/1.142, allocations: 0.5081 MB / 0.8475 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009004/1.143, allocations: 0.8662 MB / 0.8483 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.052e-06/1.143, allocations: 0 / 0.8483 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06742/1.21, allocations: 47.22 MB / 0.8944 GB, free: 152.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/1.21, allocations: 251.2 kB / 0.8947 GB, free: 152.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/4.249, allocations: 0 / 0.8947 GB, free: 152.4 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/linux/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) Environment - environmentSimulation: