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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 105.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 186.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.136/1.136, allocations: 177.8 MB / 480.5 MB, free: 6.449 MB / 382.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 73.83 kB / 0.6683 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6477/0.6506, allocations: 95.08 MB / 0.7612 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003491/0.654, allocations: 1.785 MB / 0.7629 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.6554, allocations: 0.6727 MB / 0.7636 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.6555, allocations: 3 kB / 0.7636 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.413e-05/0.6555, allocations: 10.31 kB / 0.7636 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.6556, allocations: 16.45 kB / 0.7636 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.6562, allocations: 178.2 kB / 0.7638 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.6564, allocations: 121.7 kB / 0.7639 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.6566, allocations: 50.92 kB / 0.7639 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.6567, allocations: 57.94 kB / 0.764 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.6568, allocations: 50.84 kB / 0.764 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.6569, allocations: 15.19 kB / 0.764 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.657, allocations: 48.52 kB / 0.7641 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.6571, allocations: 32.27 kB / 0.7641 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.6571, allocations: 51.92 kB / 0.7642 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.6574, allocations: 142.1 kB / 0.7643 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6574, allocations: 0 / 0.7643 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.514e-06/0.6574, allocations: 0 / 0.7643 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.6574, allocations: 4.594 kB / 0.7643 GB, free: 6.262 MB / 0.5762 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.0005841/0.658, allocations: 445.5 kB / 0.7647 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.658, allocations: 10.75 kB / 0.7647 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.6581, allocations: 38.64 kB / 0.7648 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008197/0.6589, allocations: 112.7 kB / 0.7649 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.695e-05/0.659, allocations: 193.9 kB / 0.7651 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.403e-05/0.6591, allocations: 65.36 kB / 0.7651 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.6591, allocations: 11.06 kB / 0.7651 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.6596, allocations: 169.5 kB / 0.7653 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.6596, allocations: 0 / 0.7653 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.6596, allocations: 5.344 kB / 0.7653 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.6596, allocations: 3.438 kB / 0.7653 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.6602, allocations: 163.1 kB / 0.7655 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.6613, allocations: 483.8 kB / 0.7659 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009527/0.6622, allocations: 213.1 kB / 0.7661 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.6625, allocations: 76.08 kB / 0.7662 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.6625, allocations: 5.172 kB / 0.7662 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.6626, allocations: 35.66 kB / 0.7662 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 2.514e-06/0.6626, allocations: 5.719 kB / 0.7662 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0009672/0.6635, allocations: 262.5 kB / 0.7665 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.6636, allocations: 60.53 kB / 0.7666 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.6637, allocations: 137.1 kB / 0.7667 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.6637, allocations: 26.83 kB / 0.7667 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.6637, allocations: 110.5 kB / 0.7668 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.6638, allocations: 24.52 kB / 0.7668 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.6638, allocations: 22.47 kB / 0.7669 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.92e-05/0.6639, allocations: 320.6 kB / 0.7672 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.6642, allocations: 74.31 kB / 0.7672 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.6645, allocations: 97.64 kB / 0.7673 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/0.665, allocations: 164.6 kB / 0.7675 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.665, allocations: 0 / 0.7675 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006372/0.6656, allocations: 204.7 kB / 0.7677 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6657, allocations: 6.547 kB / 0.7677 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6657, allocations: 5.219 kB / 0.7677 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6657, allocations: 1.281 kB / 0.7677 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.6659, allocations: 37.55 kB / 0.7677 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.666, allocations: 1.281 kB / 0.7677 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.6661, allocations: 24.2 kB / 0.7678 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.6662, allocations: 5.141 kB / 0.7678 GB, free: 3.953 MB / 0.5762 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 8.61e-05/0.6662, allocations: 126.2 kB / 0.7679 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.6663, allocations: 10.06 kB / 0.7679 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006623/0.667, allocations: 209.4 kB / 0.7681 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.667, allocations: 3.938 kB / 0.7681 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.667, allocations: 0 / 0.7681 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.667, allocations: 0.7812 kB / 0.7681 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.6672, allocations: 239.2 kB / 0.7683 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6672, allocations: 0 / 0.7683 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.6674, allocations: 36.45 kB / 0.7684 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6674, allocations: 2.625 kB / 0.7684 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.6674, allocations: 10.78 kB / 0.7684 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6674, allocations: 128 / 0.7684 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6674, allocations: 4 kB / 0.7684 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006104/0.668, allocations: 283.6 kB / 0.7686 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.6681, allocations: 83.34 kB / 0.7687 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.6681, allocations: 8.875 kB / 0.7687 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.6684, allocations: 32.59 kB / 0.7688 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.6684, allocations: 5.281 kB / 0.7688 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.6684, allocations: 9.094 kB / 0.7688 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.942e-05/0.6685, allocations: 108 kB / 0.7689 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6685, allocations: 0 / 0.7689 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002722/0.6687, allocations: 26.77 kB / 0.7689 GB, free: 3.125 MB / 0.5762 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.0007618/0.6695, allocations: 0.8198 MB / 0.7697 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005956/0.6701, allocations: 166 kB / 0.7699 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6701, allocations: 0 / 0.7699 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.6704, allocations: 75.11 kB / 0.7699 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.6707, allocations: 9.031 kB / 0.7699 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.6736, allocations: 1.84 MB / 0.7717 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.674, allocations: 0.7034 MB / 0.7724 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.836e-05/0.6741, allocations: 13.39 kB / 0.7724 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.6742, allocations: 33.34 kB / 0.7725 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6742, allocations: 4 kB / 0.7725 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.7015, allocations: 2.766 MB / 0.7752 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.64, allocations: 5.516 kB / 0.7752 GB, free: 15.77 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.638444619995425] Failed to read output from testmodel.py, exit status != 0: 8.712127163998957 8.725951796 8.065482258 Calling exit ...