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.001365/0.001365, allocations: 105.7 kB / 16.45 MB, free: 6.504 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.001383/0.001383, allocations: 191.7 kB / 19.4 MB, free: 3.68 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.422/1.422, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.043/1.043, allocations: 177.9 MB / 480.6 MB, free: 6.406 MB / 382.1 MB " [Timeout remaining time 179] 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.001997/0.001997, allocations: 64.05 kB / 0.6683 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.636/0.638, allocations: 95.09 MB / 0.7612 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003459/0.6415, allocations: 1.787 MB / 0.763 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.6427, allocations: 0.6642 MB / 0.7636 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.6428, allocations: 1.844 kB / 0.7636 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.429e-05/0.6428, allocations: 14.88 kB / 0.7636 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.6429, allocations: 21.06 kB / 0.7636 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.6435, allocations: 172.6 kB / 0.7638 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.6438, allocations: 126.8 kB / 0.7639 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.6439, allocations: 38.73 kB / 0.764 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.6441, allocations: 58.45 kB / 0.764 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.6442, allocations: 46.75 kB / 0.7641 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.6442, allocations: 10.91 kB / 0.7641 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.6443, allocations: 44.58 kB / 0.7641 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.6444, allocations: 36.8 kB / 0.7641 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.6445, allocations: 56.34 kB / 0.7642 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.6447, allocations: 156.5 kB / 0.7644 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.6447, allocations: 0.6562 kB / 0.7644 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6447, allocations: 1.188 kB / 0.7644 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.6447, allocations: 0 / 0.7644 GB, free: 6.25 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.0006461/0.6454, allocations: 438.1 kB / 0.7648 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.6454, allocations: 8.781 kB / 0.7648 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.6455, allocations: 40.44 kB / 0.7648 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008968/0.6464, allocations: 115.5 kB / 0.7649 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.6465, allocations: 189.1 kB / 0.7651 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.6466, allocations: 64.48 kB / 0.7652 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.6466, allocations: 6.094 kB / 0.7652 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.6471, allocations: 180 kB / 0.7653 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.6471, allocations: 0 / 0.7653 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.6471, allocations: 5.75 kB / 0.7654 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.6472, allocations: 5.719 kB / 0.7654 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006303/0.6478, allocations: 158.8 kB / 0.7655 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.6488, allocations: 484.2 kB / 0.766 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.65, allocations: 220.5 kB / 0.7662 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.6503, allocations: 81 kB / 0.7663 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.6503, allocations: 0.9062 kB / 0.7663 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.6503, allocations: 33.86 kB / 0.7663 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.6503, allocations: 0 / 0.7663 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.001047/0.6514, allocations: 262.1 kB / 0.7665 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.6514, allocations: 56.28 kB / 0.7666 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.313e-05/0.6515, allocations: 144.5 kB / 0.7667 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.6515, allocations: 29.7 kB / 0.7668 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.6515, allocations: 104.8 kB / 0.7669 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.6516, allocations: 26.67 kB / 0.7669 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.6516, allocations: 23.27 kB / 0.7669 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.6517, allocations: 319.9 kB / 0.7672 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.652, allocations: 75.16 kB / 0.7673 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.6523, allocations: 95.55 kB / 0.7674 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.6529, allocations: 166.7 kB / 0.7675 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6529, allocations: 0 / 0.7675 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007068/0.6536, allocations: 198 kB / 0.7677 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.6537, allocations: 5.031 kB / 0.7677 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.6537, allocations: 9.125 kB / 0.7677 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6537, allocations: 0.8438 kB / 0.7677 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.654, allocations: 35.06 kB / 0.7678 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.654, allocations: 1.297 kB / 0.7678 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.6542, allocations: 25.53 kB / 0.7678 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.6542, allocations: 6.484 kB / 0.7678 GB, free: 3.945 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 7.799e-05/0.6543, allocations: 122.4 kB / 0.7679 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.6543, allocations: 9.734 kB / 0.7679 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007316/0.655, allocations: 207.1 kB / 0.7681 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.655, allocations: 5.25 kB / 0.7681 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.655, allocations: 4.062 kB / 0.7681 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.655, allocations: 1.594 kB / 0.7681 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.6553, allocations: 245 kB / 0.7684 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6553, allocations: 0.9688 kB / 0.7684 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.6555, allocations: 30 kB / 0.7684 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.6555, allocations: 1.875 kB / 0.7684 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.6555, allocations: 5.891 kB / 0.7684 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6555, allocations: 1.281 kB / 0.7684 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6555, allocations: 4 kB / 0.7684 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/0.6562, allocations: 287.4 kB / 0.7687 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.6562, allocations: 83.91 kB / 0.7688 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.6563, allocations: 12.84 kB / 0.7688 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.6566, allocations: 34.16 kB / 0.7688 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.6566, allocations: 2.484 kB / 0.7688 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.6566, allocations: 7.344 kB / 0.7688 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.6567, allocations: 107.7 kB / 0.7689 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6567, allocations: 0 / 0.7689 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002759/0.657, allocations: 31.33 kB / 0.769 GB, free: 3.113 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.0008923/0.6579, allocations: 0.8199 MB / 0.7698 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006998/0.6586, allocations: 159 kB / 0.7699 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6586, allocations: 0 / 0.7699 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.6589, allocations: 87.19 kB / 0.77 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.6592, allocations: 11.5 kB / 0.77 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.6626, allocations: 1.835 MB / 0.7718 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.6629, allocations: 0.6986 MB / 0.7725 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.663, allocations: 16.41 kB / 0.7725 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.198e-05/0.6631, allocations: 32.33 kB / 0.7725 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.6631, allocations: 0 / 0.7725 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.6893, allocations: 2.755 MB / 0.7752 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/9.05, allocations: 5.156 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.852884702035226] Failed to read output from testmodel.py, exit status != 0: 9.121388786006719 9.136993347 8.48892285 Calling exit ...