Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7165/0.7165, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 179.8 kB / 169.7 MB, free: 1.758 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 404.5 MB, free: 1.609 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009495/0.0009495, allocations: 91.38 kB / 481.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.003e-05/5.016e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1717, allocations: 76.76 MB / 0.6283 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6298/0.8016, allocations: 102.8 MB / 0.7286 GB, free: 10.62 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.802, allocations: 77.62 kB / 0.7287 GB, free: 10.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01613/0.8181, allocations: 5.456 MB / 0.734 GB, free: 5.973 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.8182, allocations: 4 kB / 0.734 GB, free: 5.969 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.8182, allocations: 0 / 0.734 GB, free: 5.969 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004001/0.8186, allocations: 373.2 kB / 0.7344 GB, free: 5.562 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.8187, allocations: 8.031 kB / 0.7344 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.8187, allocations: 30.56 kB / 0.7344 GB, free: 5.516 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.8188, allocations: 8.734 kB / 0.7344 GB, free: 5.508 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.8189, allocations: 166.1 kB / 0.7346 GB, free: 5.309 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.819, allocations: 4 kB / 0.7346 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.819, allocations: 7.906 kB / 0.7346 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.8191, allocations: 47.81 kB / 0.7346 GB, free: 5.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.8192, allocations: 4 kB / 0.7346 GB, free: 5.246 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.8192, allocations: 3.375 kB / 0.7347 GB, free: 5.246 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.8192, allocations: 11.86 kB / 0.7347 GB, free: 5.234 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.611e-05/0.8193, allocations: 19.33 kB / 0.7347 GB, free: 5.219 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.8195, allocations: 164.5 kB / 0.7348 GB, free: 5.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.8196, allocations: 52.89 kB / 0.7349 GB, free: 4.965 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.8197, allocations: 31.59 kB / 0.7349 GB, free: 4.938 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007001/0.8204, allocations: 457.4 kB / 0.7354 GB, free: 4.402 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.8205, allocations: 38.55 kB / 0.7354 GB, free: 4.355 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.8205, allocations: 3.938 kB / 0.7354 GB, free: 4.352 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.00118/0.8216, allocations: 0.5608 MB / 0.7359 GB, free: 3.746 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.8217, allocations: 55.36 kB / 0.736 GB, free: 3.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.683e-05/0.8218, allocations: 92.88 kB / 0.7361 GB, free: 3.586 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.8218, allocations: 29.7 kB / 0.7361 GB, free: 3.551 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.8218, allocations: 80.14 kB / 0.7362 GB, free: 3.469 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.8219, allocations: 46.36 kB / 0.7362 GB, free: 3.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.8219, allocations: 0 / 0.7362 GB, free: 3.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.822, allocations: 318.7 kB / 0.7365 GB, free: 3.113 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.8221, allocations: 22.61 kB / 0.7366 GB, free: 3.098 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.579e-05/0.8221, allocations: 23.5 kB / 0.7366 GB, free: 3.078 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/0.8222, allocations: 18.84 kB / 0.7366 GB, free: 3.066 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.8222, allocations: 3.938 kB / 0.7366 GB, free: 3.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001436/0.8223, allocations: 99.73 kB / 0.7367 GB, free: 2.977 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8224, allocations: 4 kB / 0.7367 GB, free: 2.973 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8224, allocations: 0 / 0.7367 GB, free: 2.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8224, allocations: 4 kB / 0.7367 GB, free: 2.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.8225, allocations: 27.73 kB / 0.7367 GB, free: 2.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.8225, allocations: 0 / 0.7367 GB, free: 2.945 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.8225, allocations: 3.953 kB / 0.7367 GB, free: 2.941 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.8226, allocations: 4 kB / 0.7367 GB, free: 2.938 MB / 490.7 MB 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 (13): * Single equations (assignments): 13 * 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.695e-05/0.8226, allocations: 108.3 kB / 0.7368 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.8227, allocations: 7.906 kB / 0.7368 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.8229, allocations: 105.7 kB / 0.737 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.8229, allocations: 0 / 0.737 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8229, allocations: 11.98 kB / 0.737 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.8229, allocations: 0 / 0.737 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.8233, allocations: 355.1 kB / 0.7373 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8233, allocations: 0 / 0.7373 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.8235, allocations: 19.94 kB / 0.7373 GB, free: 2.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8235, allocations: 4 kB / 0.7373 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.8235, allocations: 7.984 kB / 0.7373 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8235, allocations: 0 / 0.7373 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8235, allocations: 3.953 kB / 0.7373 GB, free: 2.312 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.8238, allocations: 210.9 kB / 0.7375 GB, free: 2.117 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.8238, allocations: 81.33 kB / 0.7376 GB, free: 2.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.8238, allocations: 7.547 kB / 0.7376 GB, free: 2.016 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.8239, allocations: 7.938 kB / 0.7376 GB, free: 2.008 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.824, allocations: 19.94 kB / 0.7376 GB, free: 1.988 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.824, allocations: 7.359 kB / 0.7377 GB, free: 1.984 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.622e-05/0.824, allocations: 79.28 kB / 0.7377 GB, free: 1.906 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.824, allocations: 0 / 0.7377 GB, free: 1.906 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.8243, allocations: 59.38 kB / 0.7378 GB, free: 1.852 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006513/0.825, allocations: 0.8072 MB / 0.7386 GB, free: 1.047 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.8251, allocations: 62.92 kB / 0.7386 GB, free: 1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8251, allocations: 0 / 0.7386 GB, free: 1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.1e-05/0.8252, allocations: 32.36 kB / 0.7387 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.8253, allocations: 5.578 kB / 0.7387 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.8258, allocations: 197.7 kB / 0.7389 GB, free: 0.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.826, allocations: 0.6887 MB / 0.7395 GB, free: 36 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.928e-05/0.8261, allocations: 15.94 kB / 0.7395 GB, free: 20 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.8262, allocations: 18.25 kB / 0.7396 GB, free: 8 kB / 490.7 MB Notification: Performance of SimCode: time 7.12e-07/0.8262, allocations: 0 / 0.7396 GB, free: 8 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.8395, allocations: 2.206 MB / 0.7417 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.8397, allocations: 201.9 kB / 0.7419 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.436, allocations: 0 / 0.7419 GB, free: 13.75 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)