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.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001118/0.001119, allocations: 198.3 kB / 16.14 MB, free: 6.688 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.232/1.232, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8522/0.8522, allocations: 135.1 MB / 425.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.97 kB / 0.5048 GB, free: 5.688 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1328, allocations: 80.92 MB / 0.5838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.3578/0.4906, allocations: 164.7 MB / 0.7446 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.5089, allocations: 17.18 MB / 0.7614 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.51, allocations: 35.75 kB / 0.7614 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.5114, allocations: 453.3 kB / 0.7618 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003738/0.5152, allocations: 1.463 MB / 0.7633 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.5179, allocations: 1.232 MB / 0.7645 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002769/0.5207, allocations: 2.791 MB / 0.7672 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.5229, allocations: 1.822 MB / 0.769 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004292/0.5272, allocations: 1.198 MB / 0.7701 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.5285, allocations: 1.027 MB / 0.7712 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003208/0.5288, allocations: 112 kB / 0.7713 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.5314, allocations: 1.575 MB / 0.7728 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000585/0.532, allocations: 0.6813 MB / 0.7735 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.5331, allocations: 1.095 MB / 0.7745 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.5366, allocations: 3.458 MB / 0.7779 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5366, allocations: 4 kB / 0.7779 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.91e-07/0.5366, allocations: 0 / 0.7779 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.807e-05/0.5366, allocations: 4 kB / 0.7779 GB, free: 6.641 MB / 0.5919 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.004472/0.5411, allocations: 2.803 MB / 0.7807 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.5412, allocations: 12.03 kB / 0.7807 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002686/0.5414, allocations: 236.6 kB / 0.7809 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/0.5451, allocations: 0.5667 MB / 0.7814 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003552/0.5487, allocations: 3.368 MB / 0.7847 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/0.5488, allocations: 123.3 kB / 0.7848 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.549, allocations: 171.9 kB / 0.785 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.552, allocations: 1.889 MB / 0.7869 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.552, allocations: 0 / 0.7869 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.5522, allocations: 76 kB / 0.7869 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.5522, allocations: 40 kB / 0.787 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.5553, allocations: 2.065 MB / 0.789 GB, free: 11.12 MB / 0.6075 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.007542/0.5629, allocations: 6.24 MB / 0.7951 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/0.5657, allocations: 2.035 MB / 0.7971 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.5668, allocations: 0.7374 MB / 0.7978 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005089/0.5673, allocations: 433.7 kB / 0.7982 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/0.5688, allocations: 0.9471 MB / 0.7991 GB, free: 316 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.825e-06/0.5689, allocations: 0 / 0.7991 GB, free: 316 kB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.00609/0.575, allocations: 2.871 MB / 0.8019 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.575, allocations: 193.2 kB / 0.8021 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003661/0.5787, allocations: 4.056 MB / 0.8061 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.5788, allocations: 57.7 kB / 0.8061 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/0.5794, allocations: 0.8709 MB / 0.807 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/0.5797, allocations: 461.3 kB / 0.8074 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.5801, allocations: 222.8 kB / 0.8076 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5802, allocations: 353.9 kB / 0.808 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009699/0.5812, allocations: 0.553 MB / 0.8085 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.5823, allocations: 0.7695 MB / 0.8093 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.5844, allocations: 1.282 MB / 0.8105 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5844, allocations: 0 / 0.8105 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003259/0.5876, allocations: 1.717 MB / 0.8122 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5877, allocations: 8 kB / 0.8122 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5877, allocations: 0 / 0.8122 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009643/0.5886, allocations: 208.2 kB / 0.8124 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.59, allocations: 311.6 kB / 0.8127 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/0.5951, allocations: 6.81 MB / 0.8193 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.5962, allocations: 171 kB / 0.8195 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.893e-05/0.5963, allocations: 51.91 kB / 0.8196 GB, free: 10.4 MB / 0.6387 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.0006321/0.597, allocations: 476.1 kB / 0.82 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.5973, allocations: 189.7 kB / 0.8202 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.6012, allocations: 2.067 MB / 0.8222 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.6013, allocations: 24.02 kB / 0.8222 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6013, allocations: 0 / 0.8222 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.6013, allocations: 7.969 kB / 0.8222 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005692/0.607, allocations: 3.965 MB / 0.8261 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.607, allocations: 0 / 0.8261 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.6084, allocations: 311.6 kB / 0.8264 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008688/0.6092, allocations: 220 kB / 0.8266 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-05/0.6093, allocations: 35.97 kB / 0.8267 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004871/0.6142, allocations: 6.824 MB / 0.8333 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6142, allocations: 0 / 0.8333 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003412/0.6177, allocations: 1.921 MB / 0.8352 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006528/0.6183, allocations: 0.502 MB / 0.8357 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.6185, allocations: 27.94 kB / 0.8357 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.6197, allocations: 129.9 kB / 0.8358 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.6199, allocations: 101.2 kB / 0.8359 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/0.6201, allocations: 67.95 kB / 0.836 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002732/0.6228, allocations: 3.12 MB / 0.839 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6228, allocations: 0 / 0.839 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001357/0.6242, allocations: 0.6508 MB / 0.8397 GB, free: 4.949 MB / 0.6544 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.005154/0.6293, allocations: 3.107 MB / 0.8427 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002957/0.6323, allocations: 1.984 MB / 0.8447 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6323, allocations: 4.797 kB / 0.8447 GB, free: 15.95 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.6342, allocations: 1.383 MB / 0.846 GB, free: 14.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.6362, allocations: 0.4982 MB / 0.8465 GB, free: 14.01 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2462/0.8824, allocations: 23.01 MB / 0.869 GB, free: 213.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/0.8832, allocations: 1.517 MB / 0.8704 GB, free: 212.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001595/0.8848, allocations: 0.5141 MB / 0.8709 GB, free: 212.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008289/0.8856, allocations: 0.8683 MB / 0.8718 GB, free: 212 MB / 0.67 GB Notification: Performance of SimCode: time 4.41e-07/0.8856, allocations: 0 / 0.8718 GB, free: 212 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9471/1.833, allocations: 45.49 MB / 0.9162 GB, free: 201.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/1.833, allocations: 282.8 kB / 0.9165 GB, free: 201.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.282/5.115, allocations: 0 / 0.9165 GB, free: 201.3 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)