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.008325/0.008325, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001319/0.001319, allocations: 188.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.111/2.111, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.415/1.415, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 63.47 kB / 0.5808 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3095, allocations: 80.21 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 1.09/1.399, allocations: 167 MB / 0.8222 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04364/1.443, allocations: 17.11 MB / 0.839 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003982/1.447, allocations: 32.91 kB / 0.839 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003513/1.45, allocations: 0.5244 MB / 0.8395 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01531/1.466, allocations: 1.638 MB / 0.8411 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009491/1.476, allocations: 1.396 MB / 0.8425 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009937/1.485, allocations: 2.557 MB / 0.845 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007644/1.493, allocations: 1.95 MB / 0.8469 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008041/1.501, allocations: 1.377 MB / 0.8482 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003277/1.505, allocations: 1.031 MB / 0.8492 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001515/1.506, allocations: 210 kB / 0.8494 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007024/1.513, allocations: 1.544 MB / 0.8509 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002435/1.516, allocations: 0.7844 MB / 0.8517 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004317/1.52, allocations: 1.183 MB / 0.8528 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01251/1.533, allocations: 3.553 MB / 0.8563 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/1.533, allocations: 7.344 kB / 0.8563 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.475e-06/1.533, allocations: 0.9062 kB / 0.8563 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001809/1.533, allocations: 0 / 0.8563 GB, free: 1.289 MB / 0.6387 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.01386/1.547, allocations: 2.81 MB / 0.8591 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 9.247e-05/1.547, allocations: 10.88 kB / 0.8591 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00134/1.548, allocations: 243.6 kB / 0.8593 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007617/1.556, allocations: 0.561 MB / 0.8599 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008539/1.565, allocations: 3.4 MB / 0.8632 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/1.565, allocations: 123 kB / 0.8633 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008345/1.566, allocations: 168.8 kB / 0.8635 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00707/1.573, allocations: 1.888 MB / 0.8653 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/1.573, allocations: 2.094 kB / 0.8653 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003306/1.573, allocations: 71.41 kB / 0.8654 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.581e-05/1.573, allocations: 40.69 kB / 0.8654 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006437/1.58, allocations: 2.069 MB / 0.8674 GB, free: 15.07 MB / 0.6544 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.01932/1.599, allocations: 6.193 MB / 0.8735 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006295/1.605, allocations: 2.027 MB / 0.8755 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/1.608, allocations: 0.7428 MB / 0.8762 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/1.609, allocations: 427.6 kB / 0.8766 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003721/1.613, allocations: 0.9412 MB / 0.8775 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 7.454e-06/1.613, allocations: 0.9062 kB / 0.8775 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.01358/1.626, allocations: 2.876 MB / 0.8803 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/1.627, allocations: 196.5 kB / 0.8805 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01021/1.637, allocations: 4.052 MB / 0.8845 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006746/1.638, allocations: 54.77 kB / 0.8845 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001668/1.639, allocations: 0.8742 MB / 0.8854 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/1.641, allocations: 461.2 kB / 0.8858 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/1.642, allocations: 223.5 kB / 0.886 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002761/1.642, allocations: 348.9 kB / 0.8864 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/1.645, allocations: 0.5567 MB / 0.8869 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/1.647, allocations: 0.7713 MB / 0.8876 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004561/1.652, allocations: 1.282 MB / 0.8889 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/1.652, allocations: 3.938 kB / 0.8889 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.007614/1.66, allocations: 1.714 MB / 0.8906 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/1.66, allocations: 5.094 kB / 0.8906 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.66, allocations: 2.312 kB / 0.8906 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/1.662, allocations: 208.8 kB / 0.8908 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/1.664, allocations: 315 kB / 0.8911 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009708/1.674, allocations: 7.327 MB / 0.8982 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002985/1.677, allocations: 154 kB / 0.8984 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004067/1.678, allocations: 43.97 kB / 0.8984 GB, free: 12.64 MB / 0.67 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.00218/1.68, allocations: 491.1 kB / 0.8989 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.681, allocations: 190.7 kB / 0.8991 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00844/1.689, allocations: 2.05 MB / 0.9011 GB, free: 9.93 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.019e-05/1.69, allocations: 15.94 kB / 0.9011 GB, free: 9.914 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/1.69, allocations: 4 kB / 0.9011 GB, free: 9.91 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.605e-05/1.69, allocations: 12.84 kB / 0.9011 GB, free: 9.898 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/1.705, allocations: 3.946 MB / 0.905 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.705, allocations: 0 / 0.905 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002507/1.707, allocations: 318.4 kB / 0.9053 GB, free: 5.633 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/1.709, allocations: 200.8 kB / 0.9055 GB, free: 5.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003584/1.709, allocations: 40.75 kB / 0.9055 GB, free: 5.391 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009725/1.719, allocations: 7.359 MB / 0.9127 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.719, allocations: 0 / 0.9127 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007083/1.726, allocations: 1.92 MB / 0.9146 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/1.728, allocations: 0.4942 MB / 0.915 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000371/1.728, allocations: 31.94 kB / 0.9151 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/1.73, allocations: 101.6 kB / 0.9152 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/1.731, allocations: 105.2 kB / 0.9153 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/1.731, allocations: 63.95 kB / 0.9153 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.005423/1.736, allocations: 3.112 MB / 0.9184 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.564e-06/1.736, allocations: 0 / 0.9184 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003802/1.74, allocations: 0.6469 MB / 0.919 GB, free: 6.863 MB / 0.6856 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.009265/1.749, allocations: 3.134 MB / 0.9221 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005592/1.755, allocations: 1.988 MB / 0.924 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/1.755, allocations: 4.797 kB / 0.924 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003191/1.758, allocations: 1.385 MB / 0.9254 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/1.763, allocations: 0.5238 MB / 0.9259 GB, free: 4 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05025/1.813, allocations: 20.75 MB / 0.9461 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/1.815, allocations: 1.516 MB / 0.9476 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003166/1.818, allocations: 0.5127 MB / 0.9481 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002014/1.82, allocations: 0.8741 MB / 0.949 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of SimCode: time 2.124e-06/1.82, allocations: 0 / 0.949 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/1.992, allocations: 48.15 MB / 0.996 GB, free: 8.594 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.84/29.83, allocations: 10.38 kB / 0.996 GB, free: 8.586 MB / 0.7637 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)