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.004789/0.004789, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001273/0.001273, allocations: 189.8 kB / 16.67 MB, free: 5.973 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9564/0.9564, allocations: 135.5 MB / 426.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.91 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4088, allocations: 81.03 MB / 0.6649 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2112/0.62, allocations: 167 MB / 0.8279 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03668/0.6567, allocations: 17.12 MB / 0.8446 GB, free: 8.27 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.6586, allocations: 35.81 kB / 0.8447 GB, free: 8.234 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.6612, allocations: 0.5274 MB / 0.8452 GB, free: 7.703 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00755/0.6688, allocations: 1.637 MB / 0.8468 GB, free: 6.062 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005844/0.6746, allocations: 1.397 MB / 0.8482 GB, free: 4.68 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005314/0.68, allocations: 2.549 MB / 0.8506 GB, free: 2.121 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004103/0.6841, allocations: 1.967 MB / 0.8526 GB, free: 116 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006133/0.6903, allocations: 1.348 MB / 0.8539 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.6927, allocations: 1.027 MB / 0.8549 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006107/0.6933, allocations: 212 kB / 0.8551 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005215/0.6985, allocations: 1.54 MB / 0.8566 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.6999, allocations: 0.7867 MB / 0.8574 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002058/0.7019, allocations: 1.189 MB / 0.8585 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007735/0.7097, allocations: 3.568 MB / 0.862 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.7097, allocations: 4 kB / 0.862 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7098, allocations: 0 / 0.862 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.216e-05/0.7098, allocations: 4 kB / 0.862 GB, free: 6.457 MB / 0.6856 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.008542/0.7184, allocations: 2.89 MB / 0.8648 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.7185, allocations: 12.03 kB / 0.8649 GB, free: 3.488 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004749/0.719, allocations: 236.6 kB / 0.8651 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006944/0.7259, allocations: 0.576 MB / 0.8656 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.339/1.065, allocations: 3.412 MB / 0.869 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/1.065, allocations: 126.7 kB / 0.8691 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/1.065, allocations: 166.1 kB / 0.8693 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00338/1.069, allocations: 1.887 MB / 0.8711 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/1.069, allocations: 0.875 kB / 0.8711 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/1.069, allocations: 72.91 kB / 0.8712 GB, free: 190 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/1.069, allocations: 44.19 kB / 0.8712 GB, free: 190 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003865/1.073, allocations: 2.073 MB / 0.8732 GB, free: 189.5 MB / 0.6856 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.009244/1.082, allocations: 6.194 MB / 0.8793 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/1.085, allocations: 2.028 MB / 0.8813 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/1.086, allocations: 0.7374 MB / 0.882 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005163/1.087, allocations: 431.7 kB / 0.8824 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001618/1.089, allocations: 0.9499 MB / 0.8833 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 2.995e-06/1.089, allocations: 0 / 0.8833 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006672/1.095, allocations: 2.888 MB / 0.8861 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/1.095, allocations: 195.1 kB / 0.8863 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004284/1.1, allocations: 4.06 MB / 0.8903 GB, free: 179.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/1.1, allocations: 55.45 kB / 0.8903 GB, free: 179.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005777/1.101, allocations: 0.8873 MB / 0.8912 GB, free: 179 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/1.101, allocations: 477.7 kB / 0.8917 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/1.101, allocations: 226.7 kB / 0.8919 GB, free: 178.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.447e-05/1.101, allocations: 348.7 kB / 0.8922 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/1.102, allocations: 0.5526 MB / 0.8928 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/1.104, allocations: 0.7749 MB / 0.8935 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/1.106, allocations: 1.281 MB / 0.8948 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/1.106, allocations: 1.375 kB / 0.8948 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003675/1.109, allocations: 1.724 MB / 0.8964 GB, free: 176 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.109, allocations: 9.438 kB / 0.8965 GB, free: 176 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.109, allocations: 4.844 kB / 0.8965 GB, free: 176 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009945/1.11, allocations: 212.6 kB / 0.8967 GB, free: 175.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.112, allocations: 317.9 kB / 0.897 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004011/1.116, allocations: 7.315 MB / 0.9041 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/1.117, allocations: 160.4 kB / 0.9043 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.916e-05/1.117, allocations: 48.8 kB / 0.9043 GB, free: 168.3 MB / 0.6856 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.000831/1.118, allocations: 480.7 kB / 0.9048 GB, free: 167.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/1.119, allocations: 192.5 kB / 0.9049 GB, free: 167.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/1.122, allocations: 2.066 MB / 0.907 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/1.122, allocations: 15.88 kB / 0.907 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.122, allocations: 0 / 0.907 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/1.122, allocations: 7.969 kB / 0.907 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005225/1.128, allocations: 3.96 MB / 0.9109 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.128, allocations: 3.812 kB / 0.9109 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/1.129, allocations: 311.5 kB / 0.9112 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007864/1.13, allocations: 198.9 kB / 0.9113 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-05/1.13, allocations: 43.22 kB / 0.9114 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/1.134, allocations: 7.35 MB / 0.9186 GB, free: 156.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.134, allocations: 4 kB / 0.9186 GB, free: 156.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/1.137, allocations: 1.939 MB / 0.9205 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006514/1.138, allocations: 0.5103 MB / 0.921 GB, free: 154 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/1.138, allocations: 28 kB / 0.921 GB, free: 154 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.139, allocations: 101.6 kB / 0.9211 GB, free: 153.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/1.139, allocations: 101.2 kB / 0.9212 GB, free: 153.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/1.139, allocations: 63.95 kB / 0.9212 GB, free: 153.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002139/1.141, allocations: 3.12 MB / 0.9243 GB, free: 150.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.141, allocations: 0 / 0.9243 GB, free: 150.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001404/1.143, allocations: 0.643 MB / 0.9249 GB, free: 149.9 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.005217/1.148, allocations: 3.133 MB / 0.928 GB, free: 147 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002704/1.151, allocations: 2 MB / 0.9299 GB, free: 144.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.151, allocations: 4.312 kB / 0.9299 GB, free: 144.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.152, allocations: 1.39 MB / 0.9313 GB, free: 143.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/1.155, allocations: 0.527 MB / 0.9318 GB, free: 143 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/1.178, allocations: 20.82 MB / 0.9521 GB, free: 121.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/1.179, allocations: 1.521 MB / 0.9536 GB, free: 120.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001491/1.18, allocations: 0.5088 MB / 0.9541 GB, free: 119.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008937/1.181, allocations: 0.8741 MB / 0.955 GB, free: 119 MB / 0.6856 GB Notification: Performance of SimCode: time 1.042e-06/1.181, allocations: 4 kB / 0.955 GB, free: 119 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/1.3, allocations: 47.27 MB / 1.001 GB, free: 72.15 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/16.39, allocations: 3.125 kB / 1.001 GB, free: 72.15 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)