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.005153/0.005153, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001294/0.001294, allocations: 195.2 kB / 16.67 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8173/0.8173, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 68.09 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1544, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.509/0.6634, allocations: 167 MB / 0.8223 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02297/0.6865, allocations: 17.1 MB / 0.839 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.6883, allocations: 32.25 kB / 0.839 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.69, allocations: 0.5241 MB / 0.8395 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.695, allocations: 1.652 MB / 0.8411 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.6984, allocations: 1.391 MB / 0.8425 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003109/0.7016, allocations: 2.557 MB / 0.845 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002452/0.704, allocations: 1.961 MB / 0.8469 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.708, allocations: 1.334 MB / 0.8482 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.7095, allocations: 1.03 MB / 0.8492 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003925/0.71, allocations: 210.5 kB / 0.8494 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.7131, allocations: 1.545 MB / 0.8509 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000718/0.7139, allocations: 0.784 MB / 0.8517 GB, free: 292 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.7151, allocations: 1.194 MB / 0.8528 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004873/0.72, allocations: 3.568 MB / 0.8563 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.72, allocations: 4 kB / 0.8563 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.373e-06/0.72, allocations: 0 / 0.8563 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.2e-05/0.7201, allocations: 0 / 0.8563 GB, free: 12.35 MB / 0.6231 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.004802/0.7249, allocations: 2.898 MB / 0.8592 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.7249, allocations: 8.031 kB / 0.8592 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002867/0.7252, allocations: 240.6 kB / 0.8594 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004327/0.7296, allocations: 0.5799 MB / 0.86 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005418/0.735, allocations: 3.414 MB / 0.8633 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.7352, allocations: 127.3 kB / 0.8634 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.7354, allocations: 167.9 kB / 0.8636 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003504/0.7389, allocations: 1.885 MB / 0.8654 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.739, allocations: 0 / 0.8654 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.7392, allocations: 80 kB / 0.8655 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.7392, allocations: 40 kB / 0.8655 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00375/0.743, allocations: 2.065 MB / 0.8675 GB, free: 0.6719 MB / 0.6231 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.01017/0.7532, allocations: 6.2 MB / 0.8736 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/0.7569, allocations: 2.037 MB / 0.8756 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.7583, allocations: 0.7374 MB / 0.8763 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006653/0.759, allocations: 433.7 kB / 0.8767 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00187/0.7609, allocations: 0.9427 MB / 0.8776 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 3.186e-06/0.7609, allocations: 0 / 0.8776 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.007355/0.7683, allocations: 2.876 MB / 0.8805 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.7685, allocations: 201.2 kB / 0.8806 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005986/0.7745, allocations: 4.045 MB / 0.8846 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000263/0.7748, allocations: 61.64 kB / 0.8847 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.7758, allocations: 0.8916 MB / 0.8855 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000537/0.7764, allocations: 479.8 kB / 0.886 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004651/0.7768, allocations: 226.9 kB / 0.8862 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002487/0.7771, allocations: 357.9 kB / 0.8865 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.7783, allocations: 0.5452 MB / 0.8871 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.7798, allocations: 0.7735 MB / 0.8878 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.7823, allocations: 1.279 MB / 0.8891 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.7824, allocations: 3.938 kB / 0.8891 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004196/0.7866, allocations: 1.722 MB / 0.8908 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.7866, allocations: 8 kB / 0.8908 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.7866, allocations: 4.062 kB / 0.8908 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.7878, allocations: 212 kB / 0.891 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.7893, allocations: 315.6 kB / 0.8913 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007113/0.7964, allocations: 7.341 MB / 0.8984 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.7979, allocations: 159.2 kB / 0.8986 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.7981, allocations: 47.97 kB / 0.8986 GB, free: 15.38 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.001051/0.7992, allocations: 469.5 kB / 0.8991 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006012/0.7998, allocations: 198.7 kB / 0.8993 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/0.8047, allocations: 2.055 MB / 0.9013 GB, free: 12.63 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.8047, allocations: 16 kB / 0.9013 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.8047, allocations: 4 kB / 0.9013 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.8048, allocations: 7.969 kB / 0.9013 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00775/0.8125, allocations: 3.965 MB / 0.9052 GB, free: 8.559 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.8125, allocations: 0 / 0.9052 GB, free: 8.559 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.814, allocations: 315.6 kB / 0.9055 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009128/0.815, allocations: 204 kB / 0.9057 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.8151, allocations: 39.97 kB / 0.9057 GB, free: 7.996 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006766/0.8219, allocations: 7.355 MB / 0.9129 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8219, allocations: 192 / 0.9129 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004553/0.8265, allocations: 1.939 MB / 0.9148 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.8275, allocations: 0.507 MB / 0.9153 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003794/0.8279, allocations: 31.98 kB / 0.9153 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.8293, allocations: 98.72 kB / 0.9154 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.8296, allocations: 101.1 kB / 0.9155 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/0.8298, allocations: 67.95 kB / 0.9156 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003996/0.8338, allocations: 3.12 MB / 0.9186 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8338, allocations: 0 / 0.9186 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002005/0.8358, allocations: 0.6469 MB / 0.9193 GB, free: 9.379 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.00715/0.843, allocations: 3.137 MB / 0.9223 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00404/0.8471, allocations: 1.992 MB / 0.9243 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.8471, allocations: 0.7969 kB / 0.9243 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.8494, allocations: 1.391 MB / 0.9256 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/0.8525, allocations: 0.5304 MB / 0.9261 GB, free: 2.414 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03681/0.8893, allocations: 20.82 MB / 0.9465 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/0.891, allocations: 1.521 MB / 0.948 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00203/0.8931, allocations: 0.5127 MB / 0.9485 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/0.8946, allocations: 0.8741 MB / 0.9493 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of SimCode: time 8.21e-07/0.8947, allocations: 0 / 0.9493 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1573/1.052, allocations: 47.26 MB / 0.9955 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/16.75, allocations: 6.594 kB / 0.9955 GB, free: 11.48 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)