Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.00136/0.00136, allocations: 102.8 kB / 16.45 MB, free: 6.445 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.001353/0.001353, allocations: 187.7 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.514/1.514, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.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/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.109/1.109, allocations: 175.7 MB / 478.4 MB, free: 3.773 MB / 366.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.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 70.8 kB / 0.6653 GB, free: 11.14 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2011, allocations: 94.54 MB / 0.7576 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001699/0.2028, allocations: 0.5781 MB / 0.7581 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002502/0.2031, allocations: 51.78 kB / 0.7582 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.809e-05/0.2031, allocations: 0 / 0.7582 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.046e-05/0.2031, allocations: 0 / 0.7582 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.2031, allocations: 0 / 0.7582 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.2033, allocations: 15.92 kB / 0.7582 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.101e-05/0.2034, allocations: 4 kB / 0.7582 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.2034, allocations: 4 kB / 0.7582 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.125e-05/0.2034, allocations: 0 / 0.7582 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.162e-05/0.2034, allocations: 3.938 kB / 0.7582 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.2035, allocations: 4 kB / 0.7582 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.2036, allocations: 23.97 kB / 0.7582 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.918e-06/0.2036, allocations: 3.984 kB / 0.7582 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.341e-05/0.2036, allocations: 0 / 0.7582 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.349e-05/0.2037, allocations: 24.14 kB / 0.7583 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2037, allocations: 0 / 0.7583 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2037, allocations: 0 / 0.7583 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2037, allocations: 0 / 0.7583 GB, free: 0.8555 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003261/0.204, allocations: 315.6 kB / 0.7586 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.204, allocations: 8.031 kB / 0.7586 GB, free: 500 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.2041, allocations: 34.75 kB / 0.7586 GB, free: 456 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.2043, allocations: 20.91 kB / 0.7586 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2044, allocations: 164.4 kB / 0.7588 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.2044, allocations: 384 / 0.7588 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.2044, allocations: 384 / 0.7588 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.2046, allocations: 38.19 kB / 0.7588 GB, free: 188 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2046, allocations: 3.938 kB / 0.7588 GB, free: 184 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.2046, allocations: 0 / 0.7588 GB, free: 184 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2046, allocations: 4 kB / 0.7588 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.141e-05/0.2047, allocations: 11.98 kB / 0.7588 GB, free: 168 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.2048, allocations: 149.7 kB / 0.759 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.505e-05/0.2049, allocations: 18.61 kB / 0.759 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.205, allocations: 13.31 kB / 0.759 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.205, allocations: 4 kB / 0.759 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.205, allocations: 34.5 kB / 0.7591 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.205, allocations: 0 / 0.7591 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002353/0.2053, allocations: 53.61 kB / 0.7591 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.2053, allocations: 51.41 kB / 0.7592 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.423e-05/0.2053, allocations: 89.86 kB / 0.7592 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2054, allocations: 25.7 kB / 0.7593 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.2054, allocations: 84.27 kB / 0.7593 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.2054, allocations: 7.953 kB / 0.7594 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.2055, allocations: 9.719 kB / 0.7594 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2056, allocations: 310.8 kB / 0.7597 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-05/0.2056, allocations: 7.984 kB / 0.7597 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.2057, allocations: 4 kB / 0.7597 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.057e-05/0.2058, allocations: 24.84 kB / 0.7597 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2058, allocations: 0 / 0.7597 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001152/0.2059, allocations: 45.67 kB / 0.7597 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.2059, allocations: 7.938 kB / 0.7597 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.2059, allocations: 3.938 kB / 0.7598 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2059, allocations: 3.938 kB / 0.7598 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.206, allocations: 4 kB / 0.7598 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.206, allocations: 0 / 0.7598 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/0.2061, allocations: 15.95 kB / 0.7598 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.2061, allocations: 0 / 0.7598 GB, free: 15.08 MB / 0.5762 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 (1): * Single equations (assignments): 1 * 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.318e-05/0.2061, allocations: 105.8 kB / 0.7599 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.2061, allocations: 0 / 0.7599 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.2062, allocations: 11.06 kB / 0.7599 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2062, allocations: 3.984 kB / 0.7599 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2062, allocations: 4 kB / 0.7599 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.2062, allocations: 0 / 0.7599 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.2063, allocations: 149.7 kB / 0.76 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2063, allocations: 3.938 kB / 0.76 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.2063, allocations: 4 kB / 0.76 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2063, allocations: 0 / 0.76 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.2063, allocations: 3.938 kB / 0.76 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2063, allocations: 0 / 0.76 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2063, allocations: 0 / 0.76 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.2065, allocations: 77.11 kB / 0.7601 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.2065, allocations: 81.11 kB / 0.7602 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2066, allocations: 3.938 kB / 0.7602 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3e-05/0.2066, allocations: 0 / 0.7602 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.2066, allocations: 4 kB / 0.7602 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2066, allocations: 3.984 kB / 0.7602 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.2066, allocations: 75.28 kB / 0.7603 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.2066, allocations: 0 / 0.7603 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001727/0.2068, allocations: 0 / 0.7603 GB, free: 14.46 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 (1): * Single equations (assignments): 1 * 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.000493/0.2073, allocations: 0.6046 MB / 0.7609 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.2074, allocations: 15.97 kB / 0.7609 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.2074, allocations: 4.094 kB / 0.7609 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.948e-05/0.2075, allocations: 4 kB / 0.7609 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.2076, allocations: 1.875 kB / 0.7609 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.208, allocations: 118.6 kB / 0.761 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.2083, allocations: 0.6729 MB / 0.7617 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.928e-05/0.2083, allocations: 8 kB / 0.7617 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.2084, allocations: 11.44 kB / 0.7617 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2084, allocations: 0 / 0.7617 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.2326, allocations: 0.9339 MB / 0.7626 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.115, allocations: 12.02 kB / 0.7626 GB, free: 12.07 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.098596892785281] Failed to read output from testmodel.py, exit status != 0: 8.1832230030559 8.210830523 8.002249235 Calling exit ...