Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",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.007236/0.007236, allocations: 101.7 kB / 15.73 MB, free: 6.043 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.001639/0.001639, allocations: 196 kB / 16.67 MB, free: 5.977 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9537/0.9537, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 67.89 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4668, allocations: 80.92 MB / 0.6642 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002488/0.4693, allocations: 1.771 MB / 0.6659 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009545/0.4703, allocations: 0.6541 MB / 0.6665 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.4704, allocations: 1.406 kB / 0.6665 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.4704, allocations: 7.875 kB / 0.6665 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.235e-05/0.4705, allocations: 18.14 kB / 0.6666 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.471, allocations: 173.2 kB / 0.6667 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.4712, allocations: 124.5 kB / 0.6668 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.4713, allocations: 59.17 kB / 0.6669 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.4714, allocations: 57.45 kB / 0.667 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.639e-05/0.4715, allocations: 51.66 kB / 0.667 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.4716, allocations: 10.5 kB / 0.667 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.4717, allocations: 44.12 kB / 0.6671 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.4717, allocations: 33.09 kB / 0.6671 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.4718, allocations: 61.62 kB / 0.6672 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.4719, allocations: 147.2 kB / 0.6673 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.472, allocations: 0 / 0.6673 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.472, allocations: 0 / 0.6673 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.472, allocations: 1.406 kB / 0.6673 GB, free: 4.852 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004933/0.4725, allocations: 437.6 kB / 0.6677 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4725, allocations: 10.25 kB / 0.6677 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.4726, allocations: 41.47 kB / 0.6678 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007186/0.4733, allocations: 112.3 kB / 0.6679 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.5e-05/0.4734, allocations: 182.9 kB / 0.668 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.4735, allocations: 61.97 kB / 0.6681 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.4735, allocations: 5.594 kB / 0.6681 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004313/0.4739, allocations: 183 kB / 0.6683 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.474, allocations: 3.938 kB / 0.6683 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.474, allocations: 10.17 kB / 0.6683 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.474, allocations: 1 kB / 0.6683 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.4745, allocations: 160.7 kB / 0.6684 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000941/0.4754, allocations: 485.7 kB / 0.6689 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008469/0.4763, allocations: 219.1 kB / 0.6691 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.4766, allocations: 79.03 kB / 0.6692 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.4766, allocations: 5.391 kB / 0.6692 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.4766, allocations: 35.69 kB / 0.6692 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4766, allocations: 0 / 0.6692 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0008748/0.4775, allocations: 264.2 kB / 0.6695 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.4776, allocations: 52.5 kB / 0.6695 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.4777, allocations: 135.5 kB / 0.6697 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4777, allocations: 35.14 kB / 0.6697 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.4777, allocations: 109.5 kB / 0.6698 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.4778, allocations: 18.45 kB / 0.6698 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.4778, allocations: 23.83 kB / 0.6698 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.662e-05/0.4779, allocations: 317.9 kB / 0.6701 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.4781, allocations: 76.72 kB / 0.6702 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.4784, allocations: 98.56 kB / 0.6703 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.4789, allocations: 159.6 kB / 0.6705 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4789, allocations: 5 kB / 0.6705 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005506/0.4795, allocations: 201.4 kB / 0.6707 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4795, allocations: 9.062 kB / 0.6707 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4795, allocations: 5 kB / 0.6707 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4795, allocations: 5.453 kB / 0.6707 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.4798, allocations: 37.77 kB / 0.6707 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.4798, allocations: 1.531 kB / 0.6707 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.48, allocations: 32.62 kB / 0.6708 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.48, allocations: 6.688 kB / 0.6708 GB, free: 1.984 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.4801, allocations: 117.6 kB / 0.6709 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.4801, allocations: 9.031 kB / 0.6709 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/0.4807, allocations: 210.7 kB / 0.6711 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4807, allocations: 1.312 kB / 0.6711 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4807, allocations: 4.062 kB / 0.6711 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4807, allocations: 1.375 kB / 0.6711 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.481, allocations: 230.5 kB / 0.6713 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.481, allocations: 0 / 0.6713 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.4812, allocations: 32.02 kB / 0.6713 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4812, allocations: 0 / 0.6713 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4812, allocations: 9.25 kB / 0.6713 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4812, allocations: 0 / 0.6713 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.4812, allocations: 5.125 kB / 0.6713 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005842/0.4818, allocations: 282 kB / 0.6716 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.4818, allocations: 83.58 kB / 0.6717 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.4819, allocations: 5.312 kB / 0.6717 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.4821, allocations: 35.8 kB / 0.6717 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.4822, allocations: 6.578 kB / 0.6717 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.4822, allocations: 7.609 kB / 0.6718 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.4823, allocations: 108.8 kB / 0.6719 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.4823, allocations: 4 kB / 0.6719 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002639/0.4826, allocations: 31.47 kB / 0.6719 GB, free: 1.008 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007864/0.4834, allocations: 0.8157 MB / 0.6727 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.484, allocations: 160.5 kB / 0.6728 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.484, allocations: 1.188 kB / 0.6728 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.4842, allocations: 94.75 kB / 0.6729 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.4846, allocations: 7.438 kB / 0.6729 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.4875, allocations: 1.831 MB / 0.6747 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.4878, allocations: 0.699 MB / 0.6754 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.285e-05/0.4879, allocations: 22.34 kB / 0.6754 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.488, allocations: 31.83 kB / 0.6755 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.488, allocations: 0 / 0.6755 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.5052, allocations: 2.732 MB / 0.6781 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.855, allocations: 13.47 kB / 0.6781 GB, free: 12.37 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)