Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.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.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",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.9333/0.9333, allocations: 127.3 MB / 139.8 MB, free: 15.42 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.001165/0.001165, allocations: 180.9 kB / 169.7 MB, free: 1.734 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.938/1.938, allocations: 205.1 MB / 404.5 MB, free: 1.594 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.0008306/0.0008303, allocations: 101.6 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.016e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1679, allocations: 76.75 MB / 0.6282 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5788/0.7468, allocations: 103.8 MB / 0.7296 GB, free: 9.633 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.7471, allocations: 78.25 kB / 0.7297 GB, free: 9.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01193/0.759, allocations: 3.957 MB / 0.7335 GB, free: 6.184 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.7591, allocations: 0 / 0.7335 GB, free: 6.184 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.7591, allocations: 0 / 0.7335 GB, free: 6.184 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004573/0.7596, allocations: 380.8 kB / 0.7339 GB, free: 5.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.7596, allocations: 15.97 kB / 0.7339 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.7597, allocations: 30.56 kB / 0.7339 GB, free: 5.715 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.76, allocations: 67.88 kB / 0.734 GB, free: 5.648 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.7602, allocations: 166.5 kB / 0.7342 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.7602, allocations: 4 kB / 0.7342 GB, free: 5.445 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.7602, allocations: 0 / 0.7342 GB, free: 5.445 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.7604, allocations: 48.11 kB / 0.7342 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.7604, allocations: 0 / 0.7342 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.7604, allocations: 0 / 0.7342 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.7604, allocations: 4.875 kB / 0.7342 GB, free: 5.395 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.748e-05/0.7605, allocations: 34.7 kB / 0.7342 GB, free: 5.371 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.7609, allocations: 297 kB / 0.7345 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.791e-05/0.761, allocations: 36.64 kB / 0.7346 GB, free: 5.012 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.7611, allocations: 22.67 kB / 0.7346 GB, free: 4.992 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.7611, allocations: 0 / 0.7346 GB, free: 4.992 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.7611, allocations: 34.55 kB / 0.7346 GB, free: 4.949 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.7612, allocations: 0 / 0.7346 GB, free: 4.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001964/0.7614, allocations: 59.59 kB / 0.7347 GB, free: 4.895 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.7614, allocations: 51.41 kB / 0.7347 GB, free: 4.832 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/0.7615, allocations: 101 kB / 0.7348 GB, free: 4.727 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.7615, allocations: 32.86 kB / 0.7349 GB, free: 4.691 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.7616, allocations: 80.14 kB / 0.7349 GB, free: 4.609 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.7616, allocations: 3.906 kB / 0.7349 GB, free: 4.605 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.7616, allocations: 0 / 0.7349 GB, free: 4.605 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7617, allocations: 317.5 kB / 0.7352 GB, free: 4.289 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.097e-05/0.7618, allocations: 11.88 kB / 0.7353 GB, free: 4.281 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.7618, allocations: 19.48 kB / 0.7353 GB, free: 4.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.7618, allocations: 6.688 kB / 0.7353 GB, free: 4.266 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.7618, allocations: 64 / 0.7353 GB, free: 4.266 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001157/0.762, allocations: 56.27 kB / 0.7353 GB, free: 4.211 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.762, allocations: 11.98 kB / 0.7353 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.762, allocations: 0 / 0.7353 GB, free: 4.199 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.762, allocations: 3.953 kB / 0.7353 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.7622, allocations: 27.92 kB / 0.7354 GB, free: 4.168 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.7622, allocations: 4.875 kB / 0.7354 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.7623, allocations: 23.98 kB / 0.7354 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.7624, allocations: 2.938 kB / 0.7354 GB, free: 4.141 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 (2): * Single equations (assignments): 2 * 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.615e-05/0.7624, allocations: 101 kB / 0.7355 GB, free: 4.035 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.7625, allocations: 7.906 kB / 0.7355 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.7625, allocations: 11.11 kB / 0.7355 GB, free: 4.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.7625, allocations: 0 / 0.7355 GB, free: 4.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.7625, allocations: 3.953 kB / 0.7355 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7625, allocations: 0 / 0.7355 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.7627, allocations: 167.2 kB / 0.7357 GB, free: 3.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7627, allocations: 3.984 kB / 0.7357 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.7628, allocations: 23.98 kB / 0.7357 GB, free: 3.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7629, allocations: 4 kB / 0.7357 GB, free: 3.781 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.7629, allocations: 3.984 kB / 0.7357 GB, free: 3.777 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.7629, allocations: 4 kB / 0.7357 GB, free: 3.773 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7629, allocations: 3.953 kB / 0.7357 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.7631, allocations: 149.9 kB / 0.7359 GB, free: 3.617 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.7631, allocations: 77.11 kB / 0.7359 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.7631, allocations: 0 / 0.7359 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.7633, allocations: 24.02 kB / 0.736 GB, free: 3.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.7633, allocations: 7.984 kB / 0.736 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.7634, allocations: 7.641 kB / 0.736 GB, free: 3.488 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.861e-05/0.7634, allocations: 79.53 kB / 0.7361 GB, free: 3.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7634, allocations: 0 / 0.7361 GB, free: 3.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002321/0.7636, allocations: 19.94 kB / 0.7361 GB, free: 3.391 MB / 490.7 MB 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 (2): * Single equations (assignments): 2 * 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.0004663/0.7641, allocations: 0.7061 MB / 0.7368 GB, free: 2.672 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.7642, allocations: 26.31 kB / 0.7368 GB, free: 2.656 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.7642, allocations: 0 / 0.7368 GB, free: 2.656 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.173e-05/0.7643, allocations: 15.52 kB / 0.7368 GB, free: 2.645 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.7645, allocations: 14.11 kB / 0.7368 GB, free: 2.637 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.765, allocations: 137.5 kB / 0.7369 GB, free: 2.473 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.7652, allocations: 0.6886 MB / 0.7376 GB, free: 1.758 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.289e-05/0.7653, allocations: 15.94 kB / 0.7376 GB, free: 1.742 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.7654, allocations: 11.44 kB / 0.7376 GB, free: 1.73 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.7654, allocations: 0 / 0.7376 GB, free: 1.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.7788, allocations: 1.414 MB / 0.739 GB, free: 456 kB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.7791, allocations: 165 kB / 0.7392 GB, free: 224 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.288, allocations: 0 / 0.7392 GB, free: 224 kB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)