Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",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.7208/0.7208, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001117, allocations: 188.4 kB / 173.7 MB, free: 6.125 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.447/1.447, allocations: 205.4 MB / 409 MB, free: 10.53 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.001031/0.001031, allocations: 93.58 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002908, allocations: 10.62 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.2871, allocations: 102.6 MB / 0.7356 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.2874, allocations: 75.95 kB / 0.7357 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003309/0.2908, allocations: 1.098 MB / 0.7367 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2908, allocations: 0 / 0.7367 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2908, allocations: 4 kB / 0.7367 GB, free: 6.555 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005655/0.2914, allocations: 383.1 kB / 0.7371 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.2914, allocations: 12.03 kB / 0.7371 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.2915, allocations: 34.56 kB / 0.7372 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.2916, allocations: 19.84 kB / 0.7372 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.2917, allocations: 172.8 kB / 0.7373 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2918, allocations: 0 / 0.7373 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.2918, allocations: 3.938 kB / 0.7373 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.2921, allocations: 85.64 kB / 0.7374 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2921, allocations: 4 kB / 0.7374 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2921, allocations: 4 kB / 0.7374 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2921, allocations: 0 / 0.7374 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.2925, allocations: 103.9 kB / 0.7375 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.2931, allocations: 316.9 kB / 0.7378 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.2933, allocations: 82.45 kB / 0.7379 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.2935, allocations: 109.1 kB / 0.738 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.2936, allocations: 38.48 kB / 0.7381 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2936, allocations: 0 / 0.7381 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0005848/0.2942, allocations: 185.5 kB / 0.7382 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.2942, allocations: 55.39 kB / 0.7383 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2943, allocations: 116.9 kB / 0.7384 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.2944, allocations: 29.7 kB / 0.7384 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.2944, allocations: 92.05 kB / 0.7385 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.2944, allocations: 7.891 kB / 0.7385 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.2945, allocations: 4 kB / 0.7385 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2946, allocations: 314.8 kB / 0.7388 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.2948, allocations: 55.95 kB / 0.7389 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.295, allocations: 43.95 kB / 0.7389 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.2951, allocations: 51.95 kB / 0.739 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2951, allocations: 0 / 0.739 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003686/0.2955, allocations: 137.5 kB / 0.7391 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2955, allocations: 7.938 kB / 0.7391 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.2955, allocations: 0 / 0.7391 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2956, allocations: 0 / 0.7391 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.2957, allocations: 23.98 kB / 0.7391 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.2957, allocations: 15.88 kB / 0.7391 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.995e-05/0.2958, allocations: 15.98 kB / 0.7392 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.2959, allocations: 4 kB / 0.7392 GB, free: 3.84 MB / 0.5105 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 (3): * Single equations (assignments): 3 * 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 9.998e-05/0.296, allocations: 109.8 kB / 0.7393 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.296, allocations: 8 kB / 0.7393 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.2964, allocations: 149.8 kB / 0.7394 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2964, allocations: 0 / 0.7394 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2964, allocations: 0 / 0.7394 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2964, allocations: 7.984 kB / 0.7394 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.2967, allocations: 193.5 kB / 0.7396 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2967, allocations: 0 / 0.7396 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2968, allocations: 19.98 kB / 0.7396 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2968, allocations: 0 / 0.7396 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.2968, allocations: 4 kB / 0.7396 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.2968, allocations: 11.92 kB / 0.7396 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2968, allocations: 0 / 0.7396 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.2972, allocations: 227.4 kB / 0.7399 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.2973, allocations: 89.02 kB / 0.7399 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.2973, allocations: 0 / 0.7399 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2974, allocations: 19.98 kB / 0.74 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.2975, allocations: 7.984 kB / 0.74 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.2975, allocations: 0 / 0.74 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.836e-05/0.2976, allocations: 101.4 kB / 0.7401 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2976, allocations: 3.938 kB / 0.7401 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002308/0.2978, allocations: 16 kB / 0.7401 GB, free: 2.789 MB / 0.5105 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 (3): * Single equations (assignments): 3 * 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.0007427/0.2986, allocations: 0.7766 MB / 0.7408 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003819/0.299, allocations: 99.92 kB / 0.7409 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.299, allocations: 0 / 0.7409 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.2992, allocations: 51.95 kB / 0.741 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.2993, allocations: 15.88 kB / 0.741 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.2999, allocations: 198.2 kB / 0.7412 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.3002, allocations: 0.6887 MB / 0.7419 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.3002, allocations: 4 kB / 0.7419 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.3002, allocations: 19.44 kB / 0.7419 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.3003, allocations: 0 / 0.7419 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3057/0.6059, allocations: 1.542 MB / 0.7434 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.6062, allocations: 183.6 kB / 0.7436 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.205, allocations: 0 / 0.7436 GB, free: 109.1 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)