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.001652/0.001652, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9071/0.9071, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.88 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1455, allocations: 80.93 MB / 0.5845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4255/0.571, allocations: 167 MB / 0.7475 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.5909, allocations: 17.11 MB / 0.7642 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.592, allocations: 31.81 kB / 0.7643 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.5932, allocations: 0.5236 MB / 0.7648 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.5969, allocations: 1.65 MB / 0.7664 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.5997, allocations: 1.37 MB / 0.7677 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.6019, allocations: 2.541 MB / 0.7702 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.6039, allocations: 1.949 MB / 0.7721 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.6071, allocations: 1.354 MB / 0.7734 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.6081, allocations: 1.035 MB / 0.7744 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.6083, allocations: 212 kB / 0.7746 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.6108, allocations: 1.517 MB / 0.7761 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.6113, allocations: 0.779 MB / 0.7769 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000906/0.6123, allocations: 1.189 MB / 0.778 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.6154, allocations: 3.478 MB / 0.7814 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.6154, allocations: 0 / 0.7814 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6154, allocations: 0 / 0.7814 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.6155, allocations: 0 / 0.7814 GB, free: 3.109 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.003669/0.6191, allocations: 2.807 MB / 0.7842 GB, free: 248 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.6192, allocations: 15.97 kB / 0.7842 GB, free: 232 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002482/0.6194, allocations: 244.6 kB / 0.7844 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003238/0.6227, allocations: 0.5627 MB / 0.785 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.6257, allocations: 3.371 MB / 0.7883 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-05/0.6258, allocations: 127.2 kB / 0.7884 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.626, allocations: 167.9 kB / 0.7886 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.6287, allocations: 1.887 MB / 0.7904 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.6288, allocations: 4 kB / 0.7904 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.6289, allocations: 72 kB / 0.7905 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.6289, allocations: 44 kB / 0.7905 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003057/0.632, allocations: 2.069 MB / 0.7925 GB, free: 7.57 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.007296/0.6393, allocations: 6.236 MB / 0.7986 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.6422, allocations: 2.045 MB / 0.8006 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.6433, allocations: 0.7374 MB / 0.8013 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004857/0.6438, allocations: 425.6 kB / 0.8017 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001528/0.6454, allocations: 0.9426 MB / 0.8027 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 3.236e-06/0.6454, allocations: 0 / 0.8027 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.006238/0.6516, allocations: 2.872 MB / 0.8055 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.218e-05/0.6517, allocations: 197.2 kB / 0.8057 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/0.6556, allocations: 4.052 MB / 0.8096 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.6557, allocations: 57.7 kB / 0.8097 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006088/0.6563, allocations: 0.8825 MB / 0.8105 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003135/0.6566, allocations: 461.3 kB / 0.811 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.657, allocations: 222.8 kB / 0.8112 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6571, allocations: 357.9 kB / 0.8115 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.6581, allocations: 0.5491 MB / 0.8121 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.6593, allocations: 0.7657 MB / 0.8128 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.6615, allocations: 1.282 MB / 0.8141 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.6615, allocations: 0 / 0.8141 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003383/0.6649, allocations: 1.725 MB / 0.8157 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.6649, allocations: 4 kB / 0.8157 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.665, allocations: 0 / 0.8157 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009928/0.666, allocations: 212.1 kB / 0.816 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/0.6674, allocations: 315.6 kB / 0.8163 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005477/0.6729, allocations: 7.321 MB / 0.8234 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.674, allocations: 156.5 kB / 0.8236 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.6741, allocations: 43.97 kB / 0.8236 GB, free: 6.312 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.0006756/0.6748, allocations: 480.7 kB / 0.8241 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.6751, allocations: 193.8 kB / 0.8242 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.6793, allocations: 2.059 MB / 0.8262 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.6793, allocations: 16 kB / 0.8263 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.6793, allocations: 0 / 0.8263 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.6794, allocations: 7.969 kB / 0.8263 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005996/0.6854, allocations: 3.967 MB / 0.8301 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6854, allocations: 0 / 0.8301 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.6867, allocations: 319.6 kB / 0.8304 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008388/0.6876, allocations: 192.1 kB / 0.8306 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.946e-05/0.6877, allocations: 39.97 kB / 0.8307 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005197/0.6929, allocations: 7.36 MB / 0.8379 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6929, allocations: 0 / 0.8379 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003574/0.6965, allocations: 1.928 MB / 0.8397 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006862/0.6972, allocations: 0.4943 MB / 0.8402 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.6974, allocations: 27.98 kB / 0.8403 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.6986, allocations: 99.91 kB / 0.8403 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.6988, allocations: 97.17 kB / 0.8404 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.699, allocations: 67.95 kB / 0.8405 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003311/0.7023, allocations: 3.12 MB / 0.8436 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7023, allocations: 0 / 0.8436 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001713/0.704, allocations: 0.6391 MB / 0.8442 GB, free: 360 kB / 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.005642/0.7097, allocations: 3.125 MB / 0.8472 GB, free: 13.39 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005011/0.7147, allocations: 2.402 MB / 0.8496 GB, free: 10.93 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.7147, allocations: 0.7969 kB / 0.8496 GB, free: 10.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/0.7167, allocations: 1.387 MB / 0.8509 GB, free: 9.473 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.7191, allocations: 0.5243 MB / 0.8514 GB, free: 8.969 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2587/0.9778, allocations: 22.27 MB / 0.8732 GB, free: 212.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007575/0.9786, allocations: 1.52 MB / 0.8747 GB, free: 211.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001673/0.9803, allocations: 0.5125 MB / 0.8752 GB, free: 211.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/0.9811, allocations: 0.8766 MB / 0.876 GB, free: 210.7 MB / 0.67 GB Notification: Performance of SimCode: time 8.62e-07/0.9811, allocations: 0 / 0.876 GB, free: 210.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.839/5.82, allocations: 46.84 MB / 0.9218 GB, free: 199 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.62/22.44, allocations: 3.938 kB / 0.9218 GB, free: 199 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)