Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.004964/0.004964, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001282/0.001282, allocations: 201.3 kB / 16.68 MB, free: 5.934 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8167/0.8167, allocations: 135.6 MB / 426.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 64.16 kB / 0.5857 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1347, allocations: 81.03 MB / 0.6649 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002353/0.1371, allocations: 1.427 MB / 0.6663 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.1379, allocations: 471.8 kB / 0.6667 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.1379, allocations: 4 kB / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.138, allocations: 3.938 kB / 0.6667 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.153e-05/0.138, allocations: 0 / 0.6667 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.1382, allocations: 27.92 kB / 0.6667 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.365e-05/0.1383, allocations: 19.92 kB / 0.6668 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.934e-05/0.1384, allocations: 8 kB / 0.6668 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.1384, allocations: 7.984 kB / 0.6668 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.1385, allocations: 19.91 kB / 0.6668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1385, allocations: 0 / 0.6668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.764e-05/0.1386, allocations: 27.92 kB / 0.6668 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.1386, allocations: 4 kB / 0.6668 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.1386, allocations: 11.94 kB / 0.6668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.1387, allocations: 40.09 kB / 0.6669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1387, allocations: 0 / 0.6669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1387, allocations: 0 / 0.6669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.1387, allocations: 0 / 0.6669 GB, free: 3.539 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004213/0.1392, allocations: 343.4 kB / 0.6672 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1392, allocations: 9.109 kB / 0.6672 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.1392, allocations: 34.75 kB / 0.6673 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.1393, allocations: 4.938 kB / 0.6673 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1394, allocations: 168.3 kB / 0.6674 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1394, allocations: 4.312 kB / 0.6674 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.1394, allocations: 8.312 kB / 0.6674 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1396, allocations: 49.81 kB / 0.6675 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1396, allocations: 0 / 0.6675 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-06/0.1396, allocations: 3.984 kB / 0.6675 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1396, allocations: 0 / 0.6675 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1398, allocations: 39.91 kB / 0.6675 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.1401, allocations: 252.9 kB / 0.6678 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1402, allocations: 38.5 kB / 0.6678 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.1403, allocations: 20.91 kB / 0.6678 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.1404, allocations: 85.09 kB / 0.6679 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1405, allocations: 34.56 kB / 0.6679 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1405, allocations: 0 / 0.6679 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000325/0.1408, allocations: 81.64 kB / 0.668 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.1409, allocations: 55.34 kB / 0.6681 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.1409, allocations: 106 kB / 0.6682 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.141, allocations: 29.69 kB / 0.6682 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.141, allocations: 88.14 kB / 0.6683 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.141, allocations: 3.953 kB / 0.6683 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.1411, allocations: 9.719 kB / 0.6683 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1412, allocations: 322.8 kB / 0.6686 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.1413, allocations: 15.97 kB / 0.6686 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/0.1414, allocations: 19.98 kB / 0.6686 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.1415, allocations: 36.83 kB / 0.6687 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1415, allocations: 0 / 0.6687 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/0.1417, allocations: 69.61 kB / 0.6687 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1417, allocations: 4 kB / 0.6687 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1417, allocations: 12.03 kB / 0.6687 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.1418, allocations: 0 / 0.6687 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.1418, allocations: 7.984 kB / 0.6688 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1419, allocations: 3.984 kB / 0.6688 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.1419, allocations: 7.938 kB / 0.6688 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1419, allocations: 0 / 0.6688 GB, free: 1.359 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.591e-05/0.142, allocations: 121.8 kB / 0.6689 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.142, allocations: 0 / 0.6689 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.1422, allocations: 76.78 kB / 0.669 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1423, allocations: 3.938 kB / 0.669 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1423, allocations: 0 / 0.669 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.1423, allocations: 0 / 0.669 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1424, allocations: 165.6 kB / 0.6691 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1424, allocations: 0 / 0.6691 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.1425, allocations: 11.94 kB / 0.6691 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1425, allocations: 0 / 0.6691 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1425, allocations: 32 / 0.6691 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1425, allocations: 7.984 kB / 0.6691 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1425, allocations: 0 / 0.6691 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.1428, allocations: 167.5 kB / 0.6693 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.1428, allocations: 81.06 kB / 0.6694 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.1428, allocations: 3.938 kB / 0.6694 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.1429, allocations: 8.281 kB / 0.6694 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.143, allocations: 3.984 kB / 0.6694 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.143, allocations: 4 kB / 0.6694 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.143, allocations: 83.28 kB / 0.6695 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.143, allocations: 0 / 0.6695 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000208/0.1432, allocations: 8 kB / 0.6695 GB, free: 0.5234 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 (2): * Single equations (assignments): 2 * 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.0005544/0.1438, allocations: 0.7045 MB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.144, allocations: 31.97 kB / 0.6702 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.144, allocations: 0 / 0.6702 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.1441, allocations: 24.02 kB / 0.6702 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.1444, allocations: 14.08 kB / 0.6702 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.1447, allocations: 131 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.145, allocations: 0.6807 MB / 0.671 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.077e-05/0.145, allocations: 0 / 0.671 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.1451, allocations: 11.44 kB / 0.671 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1451, allocations: 0 / 0.671 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.559/1.705, allocations: 1.415 MB / 0.6724 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/13.4, allocations: 4.625 kB / 0.6724 GB, free: 13.49 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)