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.007894/0.007894, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001989/0.001989, allocations: 188.6 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9338/0.9338, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 0.5851 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4477, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002587/0.4503, allocations: 1.773 MB / 0.6659 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.4514, allocations: 0.6609 MB / 0.6665 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.4514, allocations: 2.469 kB / 0.6665 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.4515, allocations: 7.875 kB / 0.6666 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.505e-05/0.4516, allocations: 17.05 kB / 0.6666 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.4522, allocations: 167.5 kB / 0.6667 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.4524, allocations: 123.6 kB / 0.6668 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.4525, allocations: 63.11 kB / 0.6669 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.4527, allocations: 57.67 kB / 0.667 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.4528, allocations: 47.97 kB / 0.667 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.4528, allocations: 10.22 kB / 0.667 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.4529, allocations: 57.12 kB / 0.6671 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.453, allocations: 25.23 kB / 0.6671 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.453, allocations: 61.17 kB / 0.6672 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.4532, allocations: 142.8 kB / 0.6673 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4533, allocations: 0 / 0.6673 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4533, allocations: 5 kB / 0.6673 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.4533, allocations: 3.938 kB / 0.6673 GB, free: 4.844 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.0005651/0.4539, allocations: 438.1 kB / 0.6677 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4539, allocations: 13.59 kB / 0.6677 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.454, allocations: 42.34 kB / 0.6678 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000845/0.4548, allocations: 108.1 kB / 0.6679 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.4549, allocations: 182 kB / 0.668 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.86e-05/0.455, allocations: 67.44 kB / 0.6681 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.4551, allocations: 10.09 kB / 0.6681 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/0.4556, allocations: 174.5 kB / 0.6683 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4556, allocations: 0 / 0.6683 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.4556, allocations: 5.062 kB / 0.6683 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.4556, allocations: 2.281 kB / 0.6683 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.4562, allocations: 155.8 kB / 0.6684 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.4573, allocations: 481.1 kB / 0.6689 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.4584, allocations: 220 kB / 0.6691 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.4587, allocations: 84.17 kB / 0.6692 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.4587, allocations: 0 / 0.6692 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.4587, allocations: 35.94 kB / 0.6692 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.4587, allocations: 0 / 0.6692 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001071/0.4598, allocations: 267.9 kB / 0.6695 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.4599, allocations: 52.78 kB / 0.6695 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.46, allocations: 139.5 kB / 0.6697 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.46, allocations: 30.86 kB / 0.6697 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.4601, allocations: 114.1 kB / 0.6698 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.4602, allocations: 18.47 kB / 0.6698 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.4602, allocations: 19.59 kB / 0.6698 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.4603, allocations: 321.3 kB / 0.6701 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.4606, allocations: 76.83 kB / 0.6702 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.461, allocations: 98.2 kB / 0.6703 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/0.4616, allocations: 164 kB / 0.6705 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4616, allocations: 5.125 kB / 0.6705 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000692/0.4623, allocations: 202.4 kB / 0.6707 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4623, allocations: 4.469 kB / 0.6707 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4624, allocations: 5.031 kB / 0.6707 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4624, allocations: 1.531 kB / 0.6707 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.4627, allocations: 42.03 kB / 0.6707 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4627, allocations: 1.531 kB / 0.6707 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.4629, allocations: 36.88 kB / 0.6708 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.4629, allocations: 2.781 kB / 0.6708 GB, free: 1.98 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 9.129e-05/0.463, allocations: 115.1 kB / 0.6709 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.463, allocations: 8.125 kB / 0.6709 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007404/0.4638, allocations: 215.5 kB / 0.6711 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4638, allocations: 5.062 kB / 0.6711 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4638, allocations: 0 / 0.6711 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4638, allocations: 1.062 kB / 0.6711 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.4641, allocations: 226.1 kB / 0.6713 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4641, allocations: 0 / 0.6713 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.4643, allocations: 31.48 kB / 0.6713 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4643, allocations: 9.109 kB / 0.6713 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.4643, allocations: 5.594 kB / 0.6713 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4643, allocations: 160 / 0.6713 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4643, allocations: 0 / 0.6713 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/0.465, allocations: 283.3 kB / 0.6716 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.4651, allocations: 83.77 kB / 0.6717 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.4651, allocations: 8.125 kB / 0.6717 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.4654, allocations: 33.08 kB / 0.6717 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.4655, allocations: 10.14 kB / 0.6717 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.4655, allocations: 7.578 kB / 0.6718 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.257e-05/0.4655, allocations: 113.4 kB / 0.6719 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4655, allocations: 0 / 0.6719 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002905/0.4658, allocations: 31.34 kB / 0.6719 GB, free: 1.004 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.0008849/0.4667, allocations: 0.8158 MB / 0.6727 GB, free: 268 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006821/0.4674, allocations: 159.9 kB / 0.6728 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4674, allocations: 5.719 kB / 0.6728 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.4678, allocations: 85.59 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.0003936/0.4682, allocations: 15.02 kB / 0.6729 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.4714, allocations: 1.824 MB / 0.6747 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.4717, allocations: 0.6995 MB / 0.6754 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.4719, allocations: 14.31 kB / 0.6754 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-05/0.472, allocations: 35.38 kB / 0.6755 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.472, allocations: 1.344 kB / 0.6755 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.4912, allocations: 2.78 MB / 0.6782 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/8.057, allocations: 13.77 kB / 0.6782 GB, free: 12.34 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)