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.001176/0.001176, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001275/0.001276, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.252/2.252, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 2.34/2.34, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009256/0.000926, allocations: 8 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3577, allocations: 82.32 MB / 0.5873 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 1.068/1.426, allocations: 140.1 MB / 0.7241 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03955/1.465, allocations: 14.08 MB / 0.7379 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/1.468, allocations: 26.16 kB / 0.7379 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002689/1.471, allocations: 332.1 kB / 0.7382 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/1.481, allocations: 1.305 MB / 0.7395 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007216/1.488, allocations: 1.079 MB / 0.7405 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005813/1.494, allocations: 1.528 MB / 0.742 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004679/1.499, allocations: 1.466 MB / 0.7435 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004143/1.503, allocations: 0.9052 MB / 0.7443 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/1.506, allocations: 0.6647 MB / 0.745 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007571/1.506, allocations: 44 kB / 0.745 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00643/1.513, allocations: 0.9991 MB / 0.746 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001688/1.515, allocations: 0.5505 MB / 0.7466 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001782/1.516, allocations: 396.4 kB / 0.7469 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007793/1.524, allocations: 2.54 MB / 0.7494 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/1.524, allocations: 0 / 0.7494 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.59e-06/1.524, allocations: 0 / 0.7494 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000175/1.525, allocations: 0 / 0.7494 GB, free: 6.355 MB / 0.5606 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.01014/1.535, allocations: 2.374 MB / 0.7517 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/1.535, allocations: 12.03 kB / 0.7517 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001101/1.536, allocations: 244.6 kB / 0.752 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007623/1.544, allocations: 0.5667 MB / 0.7525 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008842/1.553, allocations: 3.295 MB / 0.7557 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/1.553, allocations: 127.3 kB / 0.7559 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007165/1.554, allocations: 164 kB / 0.756 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007779/1.561, allocations: 1.873 MB / 0.7579 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.388e-05/1.561, allocations: 0 / 0.7579 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004846/1.562, allocations: 68 kB / 0.7579 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-05/1.562, allocations: 43.95 kB / 0.758 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007183/1.569, allocations: 2.073 MB / 0.76 GB, free: 11.35 MB / 0.5762 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.01873/1.588, allocations: 6.251 MB / 0.7661 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006081/1.594, allocations: 1.784 MB / 0.7678 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003149/1.595, allocations: 69.31 kB / 0.7679 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003109/1.598, allocations: 0.9426 MB / 0.7688 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=137): time 1.091e-05/1.598, allocations: 4 kB / 0.7688 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137): time 0.01317/1.611, allocations: 2.897 MB / 0.7716 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/1.611, allocations: 193.2 kB / 0.7718 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009157/1.62, allocations: 4.037 MB / 0.7758 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004997/1.621, allocations: 61.7 kB / 0.7758 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001396/1.622, allocations: 0.8709 MB / 0.7767 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009318/1.623, allocations: 461.2 kB / 0.7771 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/1.624, allocations: 24 kB / 0.7771 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002582/1.624, allocations: 349.9 kB / 0.7775 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/1.626, allocations: 0.5569 MB / 0.778 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/1.629, allocations: 0.7645 MB / 0.7788 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/1.631, allocations: 0.631 MB / 0.7794 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/1.631, allocations: 0 / 0.7794 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.007455/1.639, allocations: 1.725 MB / 0.7811 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/1.639, allocations: 4 kB / 0.7811 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/1.639, allocations: 7.688 kB / 0.7811 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/1.641, allocations: 212.1 kB / 0.7813 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/1.644, allocations: 311.6 kB / 0.7816 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00965/1.654, allocations: 6.858 MB / 0.7883 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/1.657, allocations: 171.8 kB / 0.7884 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003837/1.657, allocations: 51.97 kB / 0.7885 GB, free: 12.94 MB / 0.6075 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.002142/1.66, allocations: 476.5 kB / 0.7889 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.661, allocations: 185.7 kB / 0.7891 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00874/1.67, allocations: 2.076 MB / 0.7912 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/1.67, allocations: 19.98 kB / 0.7912 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/1.67, allocations: 4 kB / 0.7912 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/1.67, allocations: 3.984 kB / 0.7912 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/1.683, allocations: 3.801 MB / 0.7949 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.683, allocations: 0 / 0.7949 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003109/1.686, allocations: 331.8 kB / 0.7952 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/1.688, allocations: 212.3 kB / 0.7954 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003211/1.689, allocations: 39.97 kB / 0.7954 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/1.699, allocations: 6.894 MB / 0.8022 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/1.699, allocations: 7.953 kB / 0.8022 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008819/1.708, allocations: 2.108 MB / 0.8042 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.71, allocations: 0.5103 MB / 0.8047 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008236/1.711, allocations: 28 kB / 0.8048 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003095/1.714, allocations: 139.7 kB / 0.8049 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004778/1.715, allocations: 121 kB / 0.805 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003628/1.715, allocations: 63.95 kB / 0.8051 GB, free: 11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006722/1.722, allocations: 3.104 MB / 0.8081 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.92e-07/1.722, allocations: 0 / 0.8081 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004558/1.726, allocations: 0.6352 MB / 0.8087 GB, free: 7.262 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.01107/1.738, allocations: 3.832 MB / 0.8125 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006663/1.744, allocations: 1.987 MB / 0.8144 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.845e-05/1.744, allocations: 8.734 kB / 0.8144 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004012/1.748, allocations: 1.399 MB / 0.8158 GB, free: 20 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004587/1.753, allocations: 476.4 kB / 0.8162 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05903/1.812, allocations: 19.4 MB / 0.8352 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/1.815, allocations: 1.556 MB / 0.8367 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004895/1.82, allocations: 0.5127 MB / 0.8372 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/1.823, allocations: 0.8585 MB / 0.838 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of SimCode: time 1.001e-06/1.823, allocations: 0 / 0.838 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8212/2.644, allocations: 47.21 MB / 0.8841 GB, free: 210.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003632/2.644, allocations: 255.7 kB / 0.8844 GB, free: 210.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.605/9.249, allocations: 0 / 0.8844 GB, free: 210.5 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/linux/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) Environment - environmentSimulation: