Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",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.001334/0.001334, allocations: 172.5 kB / 7.646 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.9069/0.9069, allocations: 133.6 MB / 141.6 MB, free: 2.859 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.507/1.507, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009087/0.0009087, allocations: 96.33 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.565e-05, allocations: 8 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4198, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.5715, allocations: 110.5 MB / 0.7418 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.5718, allocations: 75.95 kB / 0.7419 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01155/0.5833, allocations: 4.02 MB / 0.7458 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5834, allocations: 3.938 kB / 0.7458 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.5834, allocations: 0 / 0.7458 GB, free: 8.074 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.0003348/0.5837, allocations: 334.5 kB / 0.7461 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.5838, allocations: 8.031 kB / 0.7462 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.5838, allocations: 0 / 0.7462 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.584, allocations: 175 kB / 0.7463 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.584, allocations: 0 / 0.7463 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.584, allocations: 0 / 0.7463 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.485e-05/0.5841, allocations: 3.938 kB / 0.7463 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.303e-05/0.5841, allocations: 29.7 kB / 0.7464 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.5842, allocations: 0 / 0.7464 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.5842, allocations: 0 / 0.7464 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5842, allocations: 0 / 0.7464 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.5843, allocations: 126.2 kB / 0.7465 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.591e-05/0.5844, allocations: 22.53 kB / 0.7465 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.5844, allocations: 8.953 kB / 0.7465 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005257/0.5849, allocations: 425.5 kB / 0.7469 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.585, allocations: 30.56 kB / 0.7469 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.585, allocations: 4 kB / 0.7469 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001936/0.5852, allocations: 37.62 kB / 0.747 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.5852, allocations: 51.41 kB / 0.747 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.003e-05/0.5853, allocations: 85 kB / 0.7471 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.5853, allocations: 25.7 kB / 0.7471 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.5853, allocations: 80.14 kB / 0.7472 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.5854, allocations: 3.906 kB / 0.7472 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/0.5854, allocations: 0 / 0.7472 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5855, allocations: 318.9 kB / 0.7475 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-06/0.5855, allocations: 4 kB / 0.7475 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-06/0.5855, allocations: 0 / 0.7475 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.5856, allocations: 0 / 0.7475 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5856, allocations: 7.938 kB / 0.7475 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.132e-05/0.5857, allocations: 37.62 kB / 0.7476 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.5857, allocations: 9.828 kB / 0.7476 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5857, allocations: 3.938 kB / 0.7476 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5857, allocations: 0 / 0.7476 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.349e-05/0.5858, allocations: 8.094 kB / 0.7476 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.5858, allocations: 0 / 0.7476 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-06/0.5858, allocations: 0 / 0.7476 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.5858, allocations: 0 / 0.7476 GB, free: 5.984 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 7.607e-05/0.5859, allocations: 105 kB / 0.7477 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.431e-05/0.586, allocations: 33.69 kB / 0.7477 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.586, allocations: 3.953 kB / 0.7477 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-05/0.5861, allocations: 37.42 kB / 0.7478 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5861, allocations: 4.031 kB / 0.7478 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.5861, allocations: 4 kB / 0.7478 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.5861, allocations: 0 / 0.7478 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.251e-05/0.5862, allocations: 130.2 kB / 0.7479 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5862, allocations: 0 / 0.7479 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.27e-05/0.5862, allocations: 4 kB / 0.7479 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5862, allocations: 7.953 kB / 0.7479 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.5862, allocations: 0 / 0.7479 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5862, allocations: 0 / 0.7479 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5863, allocations: 3.984 kB / 0.7479 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.63e-05/0.5863, allocations: 61.12 kB / 0.748 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.5864, allocations: 77.11 kB / 0.748 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.5864, allocations: 3.953 kB / 0.748 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.658e-05/0.5864, allocations: 0 / 0.748 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.5865, allocations: 0 / 0.748 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.5865, allocations: 0 / 0.748 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.638e-05/0.5865, allocations: 75.28 kB / 0.7481 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.974e-06/0.5865, allocations: 4.031 kB / 0.7481 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001939/0.5867, allocations: 23.88 kB / 0.7481 GB, free: 5.328 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.0004357/0.5871, allocations: 0.6008 MB / 0.7487 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.434e-05/0.5872, allocations: 8 kB / 0.7487 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5872, allocations: 96 / 0.7487 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-06/0.5872, allocations: 4 kB / 0.7487 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.616e-05/0.5873, allocations: 7.938 kB / 0.7487 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.5876, allocations: 89.53 kB / 0.7488 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.5878, allocations: 0.6768 MB / 0.7495 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.565e-05/0.5879, allocations: 0 / 0.7495 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.5879, allocations: 15.31 kB / 0.7495 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.5879, allocations: 0 / 0.7495 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.6083, allocations: 0.6606 MB / 0.7502 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.6086, allocations: 143.9 kB / 0.7503 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.412/2.021, allocations: 0 / 0.7503 GB, free: 2.984 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)