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.006545/0.006545, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001489/0.001489, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7835/0.7835, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.44 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1624, allocations: 80.22 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5922/0.7546, allocations: 167 MB / 0.8222 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02001/0.7747, allocations: 17.12 MB / 0.839 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/0.7766, allocations: 28.66 kB / 0.839 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.7785, allocations: 0.5284 MB / 0.8395 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005527/0.7841, allocations: 1.644 MB / 0.8411 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.7879, allocations: 1.387 MB / 0.8425 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003602/0.7915, allocations: 2.551 MB / 0.845 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/0.7939, allocations: 1.951 MB / 0.8469 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003899/0.7978, allocations: 1.356 MB / 0.8482 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.7992, allocations: 1.037 MB / 0.8492 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003342/0.7996, allocations: 214.7 kB / 0.8494 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.8027, allocations: 1.541 MB / 0.8509 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005958/0.8033, allocations: 0.7789 MB / 0.8517 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.8044, allocations: 1.186 MB / 0.8528 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.8094, allocations: 3.572 MB / 0.8563 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.8094, allocations: 3.188 kB / 0.8563 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8094, allocations: 1.062 kB / 0.8563 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.728e-05/0.8095, 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.004758/0.8142, allocations: 2.892 MB / 0.8592 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.8143, allocations: 10.06 kB / 0.8592 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002738/0.8146, allocations: 241.5 kB / 0.8594 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/0.8183, allocations: 0.5788 MB / 0.86 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00476/0.8231, allocations: 3.412 MB / 0.8633 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.774e-05/0.8232, allocations: 130.4 kB / 0.8634 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.8234, allocations: 160.9 kB / 0.8636 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/0.8268, allocations: 1.889 MB / 0.8654 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.8268, allocations: 0.9688 kB / 0.8654 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.827, allocations: 71.22 kB / 0.8655 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.804e-05/0.827, allocations: 37.41 kB / 0.8655 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00321/0.8302, allocations: 2.073 MB / 0.8675 GB, free: 14.95 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.009681/0.8399, allocations: 6.203 MB / 0.8736 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.8435, allocations: 2.031 MB / 0.8756 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.8448, allocations: 0.7385 MB / 0.8763 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000678/0.8455, allocations: 429.8 kB / 0.8767 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/0.8472, allocations: 0.9426 MB / 0.8776 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 2.905e-06/0.8472, allocations: 0.6875 kB / 0.8776 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.006824/0.8541, allocations: 2.888 MB / 0.8805 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.8542, allocations: 195.5 kB / 0.8806 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004362/0.8586, allocations: 4.059 MB / 0.8846 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000256/0.8589, allocations: 54.3 kB / 0.8847 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008654/0.8597, allocations: 0.8873 MB / 0.8855 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/0.8602, allocations: 478.7 kB / 0.886 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000447/0.8607, allocations: 221.2 kB / 0.8862 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.8608, allocations: 350.1 kB / 0.8865 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.862, allocations: 0.5535 MB / 0.8871 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.8634, allocations: 0.7747 MB / 0.8878 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.8657, allocations: 1.281 MB / 0.8891 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.8658, allocations: 7.812 kB / 0.8891 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004009/0.8698, allocations: 1.721 MB / 0.8908 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.8698, allocations: 6.156 kB / 0.8908 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.8698, allocations: 6.047 kB / 0.8908 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.8709, allocations: 212.9 kB / 0.891 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.8724, allocations: 316.8 kB / 0.8913 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/0.879, allocations: 7.323 MB / 0.8984 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.8806, allocations: 156.4 kB / 0.8986 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.8808, allocations: 47.97 kB / 0.8986 GB, free: 12.46 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.0009931/0.8818, allocations: 487.8 kB / 0.8991 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.8822, allocations: 198.7 kB / 0.8993 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/0.8867, allocations: 2.047 MB / 0.9013 GB, free: 9.746 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.8867, allocations: 20.75 kB / 0.9013 GB, free: 9.727 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8867, allocations: 4 kB / 0.9013 GB, free: 9.723 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.8867, allocations: 7.969 kB / 0.9013 GB, free: 9.715 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006846/0.8936, allocations: 3.958 MB / 0.9052 GB, free: 5.738 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.8936, allocations: 4.047 kB / 0.9052 GB, free: 5.734 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.8951, allocations: 318.6 kB / 0.9055 GB, free: 5.438 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009016/0.896, allocations: 198.2 kB / 0.9057 GB, free: 5.234 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.8961, allocations: 35.97 kB / 0.9057 GB, free: 5.199 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00633/0.9024, allocations: 7.354 MB / 0.9129 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9025, allocations: 0 / 0.9129 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004322/0.9068, allocations: 1.941 MB / 0.9148 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009518/0.9078, allocations: 0.507 MB / 0.9153 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/0.908, allocations: 31.94 kB / 0.9153 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.9092, allocations: 97.22 kB / 0.9154 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.9095, allocations: 112.3 kB / 0.9155 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.9096, allocations: 63.95 kB / 0.9156 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003531/0.9131, allocations: 3.116 MB / 0.9186 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9132, allocations: 0 / 0.9186 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002013/0.9152, allocations: 0.6431 MB / 0.9192 GB, free: 6.641 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.006641/0.9218, allocations: 3.137 MB / 0.9223 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003879/0.9257, allocations: 1.992 MB / 0.9242 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.9258, allocations: 0.7969 kB / 0.9242 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002266/0.9281, allocations: 1.399 MB / 0.9256 GB, free: 260 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/0.931, allocations: 0.5262 MB / 0.9261 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03474/0.9658, allocations: 20.82 MB / 0.9465 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.9671, allocations: 1.517 MB / 0.9479 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001922/0.9691, allocations: 0.5127 MB / 0.9484 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/0.9704, allocations: 0.878 MB / 0.9493 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of SimCode: time 1.272e-06/0.9704, allocations: 0 / 0.9493 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.077, allocations: 47.27 MB / 0.9955 GB, free: 9.148 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.28, allocations: 9.469 kB / 0.9955 GB, free: 9.145 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)