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.00816/0.00816, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001334/0.001334, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.921/0.921, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.91 kB / 0.5851 GB, free: 3.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4337, allocations: 80.91 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1824/0.6162, allocations: 167 MB / 0.8272 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02267/0.6389, allocations: 17.11 MB / 0.8439 GB, free: 8.863 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001674/0.6406, allocations: 35.75 kB / 0.844 GB, free: 8.828 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.6426, allocations: 0.547 MB / 0.8445 GB, free: 8.277 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005221/0.6479, allocations: 1.67 MB / 0.8461 GB, free: 6.602 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.6517, allocations: 1.398 MB / 0.8475 GB, free: 5.219 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003564/0.6553, allocations: 2.549 MB / 0.85 GB, free: 2.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003024/0.6583, allocations: 1.955 MB / 0.8519 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004988/0.6633, allocations: 1.398 MB / 0.8533 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.6656, allocations: 1.031 MB / 0.8543 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006882/0.6664, allocations: 208 kB / 0.8545 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003865/0.6702, allocations: 1.548 MB / 0.856 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008152/0.6711, allocations: 0.7828 MB / 0.8568 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.6728, allocations: 1.189 MB / 0.8579 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005311/0.6781, allocations: 3.574 MB / 0.8614 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6782, allocations: 0 / 0.8614 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6782, allocations: 0 / 0.8614 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.278e-05/0.6783, allocations: 0 / 0.8614 GB, free: 6.949 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.005156/0.6834, allocations: 2.89 MB / 0.8642 GB, free: 3.992 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6835, allocations: 8.031 kB / 0.8642 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002863/0.6838, allocations: 244.6 kB / 0.8645 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.6875, allocations: 0.576 MB / 0.865 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3544/1.042, allocations: 3.416 MB / 0.8684 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/1.042, allocations: 133 kB / 0.8685 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/1.042, allocations: 163.4 kB / 0.8686 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/1.046, allocations: 1.888 MB / 0.8705 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/1.046, allocations: 0 / 0.8705 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/1.046, allocations: 70.05 kB / 0.8706 GB, free: 190 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/1.047, allocations: 39.72 kB / 0.8706 GB, free: 190 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004062/1.051, allocations: 2.064 MB / 0.8726 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.01123/1.062, allocations: 6.197 MB / 0.8787 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/1.065, allocations: 2.036 MB / 0.8807 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/1.066, allocations: 0.7384 MB / 0.8814 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005616/1.067, allocations: 431 kB / 0.8818 GB, free: 184 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/1.069, allocations: 0.9461 MB / 0.8827 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 2.835e-06/1.069, allocations: 0 / 0.8827 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.007246/1.076, allocations: 2.895 MB / 0.8855 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.076, allocations: 195.4 kB / 0.8857 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00652/1.083, allocations: 4.055 MB / 0.8897 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005163/1.083, allocations: 55.48 kB / 0.8897 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008702/1.084, allocations: 0.8826 MB / 0.8906 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005048/1.085, allocations: 481.1 kB / 0.8911 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/1.085, allocations: 232.8 kB / 0.8913 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/1.085, allocations: 344.8 kB / 0.8916 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/1.086, allocations: 0.5495 MB / 0.8921 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/1.088, allocations: 0.7721 MB / 0.8929 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/1.09, allocations: 1.282 MB / 0.8941 GB, free: 177 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.09, allocations: 1.562 kB / 0.8942 GB, free: 177 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004221/1.094, allocations: 1.728 MB / 0.8958 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/1.094, allocations: 9.359 kB / 0.8958 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.094, allocations: 8.125 kB / 0.8959 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/1.095, allocations: 200.6 kB / 0.896 GB, free: 176.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/1.097, allocations: 314.9 kB / 0.8963 GB, free: 176 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/1.101, allocations: 7.325 MB / 0.9035 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/1.103, allocations: 157.6 kB / 0.9036 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/1.103, allocations: 45.12 kB / 0.9037 GB, free: 168.5 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.0009521/1.104, allocations: 476.3 kB / 0.9041 GB, free: 168.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/1.104, allocations: 197.5 kB / 0.9043 GB, free: 168.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003966/1.108, allocations: 2.064 MB / 0.9064 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.108, allocations: 14.31 kB / 0.9064 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.108, allocations: 5.531 kB / 0.9064 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.108, allocations: 9.438 kB / 0.9064 GB, free: 167 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005697/1.114, allocations: 3.958 MB / 0.9102 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/1.114, allocations: 3.984 kB / 0.9102 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/1.116, allocations: 313.9 kB / 0.9105 GB, free: 164.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007884/1.116, allocations: 201.8 kB / 0.9107 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/1.116, allocations: 43.72 kB / 0.9108 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003909/1.12, allocations: 7.358 MB / 0.918 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.12, allocations: 0 / 0.918 GB, free: 156.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003495/1.124, allocations: 1.939 MB / 0.9199 GB, free: 155.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008412/1.125, allocations: 0.5012 MB / 0.9203 GB, free: 155 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/1.125, allocations: 28.12 kB / 0.9204 GB, free: 154.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.126, allocations: 111 kB / 0.9205 GB, free: 154.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/1.126, allocations: 105.1 kB / 0.9206 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.126, allocations: 63.95 kB / 0.9206 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002464/1.129, allocations: 3.116 MB / 0.9237 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.5e-07/1.129, allocations: 0 / 0.9237 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001749/1.131, allocations: 0.6483 MB / 0.9243 GB, free: 151 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.004935/1.136, allocations: 3.13 MB / 0.9274 GB, free: 148 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002946/1.139, allocations: 1.994 MB / 0.9293 GB, free: 146 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.139, allocations: 4.312 kB / 0.9293 GB, free: 146 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/1.14, allocations: 1.383 MB / 0.9307 GB, free: 144.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/1.143, allocations: 0.5311 MB / 0.9312 GB, free: 144 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02597/1.169, allocations: 20.82 MB / 0.9515 GB, free: 122.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008513/1.17, allocations: 1.513 MB / 0.953 GB, free: 121.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001682/1.171, allocations: 0.5166 MB / 0.9535 GB, free: 120.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.172, allocations: 0.8741 MB / 0.9544 GB, free: 120 MB / 0.6856 GB Notification: Performance of SimCode: time 1.122e-06/1.172, allocations: 0 / 0.9544 GB, free: 120 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08852/1.261, allocations: 47.29 MB / 1.001 GB, free: 73.18 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.97, allocations: 6.125 kB / 1.001 GB, free: 73.18 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)