Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 220.2 kB / 23.03 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8623/0.8623, allocations: 134 MB / 447.2 MB, free: 9.953 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.12 kB / 0.6193 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1739, allocations: 85.91 MB / 0.7032 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001996/0.1759, allocations: 0.5759 MB / 0.7037 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.1762, allocations: 48.2 kB / 0.7038 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.74e-05/0.1762, allocations: 0 / 0.7038 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.1763, allocations: 0 / 0.7038 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.1763, allocations: 0 / 0.7038 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1765, allocations: 15.92 kB / 0.7038 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.1766, allocations: 4 kB / 0.7038 GB, free: 424 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.1766, allocations: 0 / 0.7038 GB, free: 424 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.305e-05/0.1766, allocations: 4 kB / 0.7038 GB, free: 420 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.284e-05/0.1767, allocations: 4 kB / 0.7038 GB, free: 416 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.1767, allocations: 0 / 0.7038 GB, free: 416 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.1768, allocations: 15.98 kB / 0.7038 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.1768, allocations: 3.984 kB / 0.7038 GB, free: 396 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.1768, allocations: 0 / 0.7038 GB, free: 396 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.886e-05/0.1769, allocations: 20.25 kB / 0.7039 GB, free: 376 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1769, allocations: 0 / 0.7039 GB, free: 376 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1769, allocations: 0 / 0.7039 GB, free: 376 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.1769, allocations: 0 / 0.7039 GB, free: 376 kB / 0.5137 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.0002986/0.1772, allocations: 246.4 kB / 0.7041 GB, free: 96 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1772, allocations: 19.97 kB / 0.7041 GB, free: 76 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.959e-05/0.1773, allocations: 192 / 0.7041 GB, free: 76 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.1773, allocations: 34.69 kB / 0.7041 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.1775, allocations: 20.89 kB / 0.7042 GB, free: 12 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1777, allocations: 106.5 kB / 0.7043 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1777, allocations: 384 / 0.7043 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.1777, allocations: 384 / 0.7043 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1778, allocations: 38 kB / 0.7043 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1778, allocations: 4 kB / 0.7043 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1778, allocations: 0 / 0.7043 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1779, allocations: 0 / 0.7043 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.1779, allocations: 11.98 kB / 0.7043 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.1781, allocations: 116.8 kB / 0.7044 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.1782, allocations: 26.53 kB / 0.7045 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.485e-05/0.1782, allocations: 8.922 kB / 0.7045 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1783, allocations: 0 / 0.7045 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.1783, allocations: 46.48 kB / 0.7045 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1783, allocations: 4 kB / 0.7045 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002955/0.1786, allocations: 45.64 kB / 0.7046 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.1786, allocations: 59.34 kB / 0.7046 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.697e-05/0.1787, allocations: 89.86 kB / 0.7047 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1787, allocations: 25.7 kB / 0.7047 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.1787, allocations: 80.14 kB / 0.7048 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.1788, allocations: 0 / 0.7048 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.1788, allocations: 17.7 kB / 0.7048 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1789, allocations: 319 kB / 0.7051 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.179, allocations: 4 kB / 0.7051 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.179, allocations: 3.984 kB / 0.7051 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.811e-05/0.1791, allocations: 16.84 kB / 0.7051 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1791, allocations: 0 / 0.7051 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000125/0.1792, allocations: 45.62 kB / 0.7052 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1793, allocations: 12.03 kB / 0.7052 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1793, allocations: 0 / 0.7052 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1793, allocations: 0 / 0.7052 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.1794, allocations: 11.97 kB / 0.7052 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1794, allocations: 0 / 0.7052 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.1794, allocations: 3.938 kB / 0.7052 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1794, allocations: 0 / 0.7052 GB, free: 14.78 MB / 0.5294 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 8.057e-05/0.1795, allocations: 113.8 kB / 0.7053 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.1795, allocations: 3.938 kB / 0.7053 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.1795, allocations: 3 kB / 0.7053 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1795, allocations: 7.938 kB / 0.7053 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1795, allocations: 0 / 0.7053 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1795, allocations: 7.984 kB / 0.7053 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.749e-05/0.1796, allocations: 112.8 kB / 0.7055 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1796, allocations: 0 / 0.7055 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.1797, allocations: 4 kB / 0.7055 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.1797, allocations: 3.938 kB / 0.7055 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1797, allocations: 3.984 kB / 0.7055 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1797, allocations: 0 / 0.7055 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1797, allocations: 0 / 0.7055 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.1798, allocations: 73.06 kB / 0.7055 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-06/0.1798, allocations: 3.938 kB / 0.7055 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1799, allocations: 3.938 kB / 0.7055 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.1799, allocations: 7.984 kB / 0.7055 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.1799, allocations: 0 / 0.7055 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1799, allocations: 0 / 0.7055 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.1799, allocations: 75.28 kB / 0.7056 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.1799, allocations: 0 / 0.7056 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001726/0.1801, allocations: 4 kB / 0.7056 GB, free: 14.29 MB / 0.5294 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.0004292/0.1805, allocations: 0.6007 MB / 0.7062 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.1807, allocations: 15.92 kB / 0.7062 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1807, allocations: 0 / 0.7062 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.1807, allocations: 8 kB / 0.7062 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.1809, allocations: 2.188 kB / 0.7062 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.1812, allocations: 114.9 kB / 0.7063 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.906e-05/0.1813, allocations: 59.22 kB / 0.7064 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.683e-05/0.1813, allocations: 0 / 0.7064 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.1813, allocations: 7.438 kB / 0.7064 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1813, allocations: 0 / 0.7064 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.202, allocations: 1.119 MB / 0.7075 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 9.719 kB / 0.7075 GB, free: 12.41 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.83024574490264] Failed to read output from testmodel.py, exit status != 0: 11.303103118087165 11.320120478 11.14009902 Calling exit ...