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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8985/0.8985, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.5 MB / 395.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009361/0.0009364, allocations: 94.25 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.567e-05, allocations: 8 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4536, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.5919, allocations: 109.8 MB / 0.7412 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.5922, allocations: 75.95 kB / 0.7413 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001217/0.5934, allocations: 0.5458 MB / 0.7418 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5934, allocations: 0 / 0.7418 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.5934, allocations: 0 / 0.7418 GB, free: 12.23 MB / 0.5261 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.000265/0.5937, allocations: 310.5 kB / 0.7421 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5938, allocations: 8.031 kB / 0.7421 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.5939, allocations: 19.97 kB / 0.7421 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.5941, allocations: 167 kB / 0.7423 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5941, allocations: 4 kB / 0.7423 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.5941, allocations: 0 / 0.7423 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.379e-05/0.5942, allocations: 4 kB / 0.7423 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.235e-05/0.5942, allocations: 29.64 kB / 0.7423 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5942, allocations: 0 / 0.7423 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5943, allocations: 7.922 kB / 0.7423 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5943, allocations: 7.984 kB / 0.7423 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.5944, allocations: 122.2 kB / 0.7425 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.955e-05/0.5945, allocations: 25.98 kB / 0.7425 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.5945, allocations: 8.953 kB / 0.7425 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.5945, allocations: 0 / 0.7425 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.5945, allocations: 34.56 kB / 0.7425 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.5945, allocations: 0 / 0.7425 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.5947, allocations: 37.62 kB / 0.7426 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.5947, allocations: 51.41 kB / 0.7426 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.059e-05/0.5948, allocations: 89.03 kB / 0.7427 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.5948, allocations: 25.7 kB / 0.7427 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.5948, allocations: 80.14 kB / 0.7428 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.5948, allocations: 7.906 kB / 0.7428 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.5949, allocations: 0 / 0.7428 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.595, allocations: 310.8 kB / 0.7431 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.595, allocations: 0 / 0.7431 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-06/0.595, allocations: 0 / 0.7431 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.75e-05/0.595, allocations: 4.062 kB / 0.7431 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.595, allocations: 7.938 kB / 0.7431 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.211e-05/0.5951, allocations: 37.69 kB / 0.7432 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.5951, allocations: 7.953 kB / 0.7432 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5951, allocations: 4 kB / 0.7432 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5951, allocations: 4 kB / 0.7432 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.5952, allocations: 0 / 0.7432 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.5952, allocations: 3.984 kB / 0.7432 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.5953, allocations: 7.938 kB / 0.7432 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.5953, allocations: 0 / 0.7432 GB, free: 10.64 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/0.5953, allocations: 105 kB / 0.7433 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.809e-05/0.5954, allocations: 33.7 kB / 0.7433 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.685e-06/0.5954, allocations: 7.938 kB / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.5954, allocations: 3.75 kB / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.5955, allocations: 0 / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5955, allocations: 0 / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.5955, allocations: 0 / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.231e-05/0.5956, allocations: 126.2 kB / 0.7434 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5956, allocations: 4.031 kB / 0.7434 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.5956, allocations: 3.984 kB / 0.7435 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5956, allocations: 3.953 kB / 0.7435 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.5956, allocations: 4 kB / 0.7435 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5956, allocations: 0 / 0.7435 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5956, allocations: 0 / 0.7435 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.5957, allocations: 65 kB / 0.7435 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.5958, allocations: 77.11 kB / 0.7436 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.5958, allocations: 11.98 kB / 0.7436 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.248e-05/0.5958, allocations: 0 / 0.7436 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.5959, allocations: 0 / 0.7436 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.5959, allocations: 0 / 0.7436 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.387e-05/0.5959, allocations: 75.28 kB / 0.7437 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5959, allocations: 0 / 0.7437 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001927/0.5961, allocations: 4 kB / 0.7437 GB, free: 10.04 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003571/0.5965, allocations: 0.5891 MB / 0.7443 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.347e-05/0.5965, allocations: 11.92 kB / 0.7443 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5966, allocations: 0 / 0.7443 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.5966, allocations: 4 kB / 0.7443 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.738e-05/0.5967, allocations: 9.453 kB / 0.7443 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.597, allocations: 81.86 kB / 0.7444 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.5972, allocations: 0.669 MB / 0.745 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.655e-05/0.5973, allocations: 0 / 0.745 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.5973, allocations: 11.44 kB / 0.745 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of SimCode: time 4.1e-07/0.5973, allocations: 0 / 0.745 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.6152, allocations: 475.8 kB / 0.7455 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/0.6155, allocations: 122.2 kB / 0.7456 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.359/1.974, allocations: 4 kB / 0.7456 GB, free: 7.922 MB / 0.5261 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)