Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9175/0.9175, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 55.41 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.123, allocations: 80.92 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.002186/0.1252, allocations: 1.478 MB / 0.5859 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002322/0.1255, allocations: 112.4 kB / 0.586 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.1255, allocations: 0 / 0.586 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.1256, allocations: 3.938 kB / 0.586 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.1256, allocations: 15.92 kB / 0.586 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.1258, allocations: 19.92 kB / 0.5861 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.951e-05/0.1259, allocations: 39.91 kB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.1259, allocations: 15.98 kB / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.126, allocations: 15.92 kB / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.126, allocations: 27.91 kB / 0.5861 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.126, allocations: 4 kB / 0.5861 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-05/0.1261, allocations: 23.92 kB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.1261, allocations: 7.938 kB / 0.5862 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.1262, allocations: 23.86 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.249e-05/0.1263, allocations: 63.8 kB / 0.5863 GB, free: 2.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1263, allocations: 0 / 0.5863 GB, free: 2.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1263, allocations: 0 / 0.5863 GB, free: 2.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1263, allocations: 0 / 0.5863 GB, free: 2.598 MB / 494.1 MB 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.0004061/0.1267, allocations: 383.4 kB / 0.5866 GB, free: 2.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.1267, allocations: 8.031 kB / 0.5866 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.1268, allocations: 34.75 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.002e-05/0.1268, allocations: 4.938 kB / 0.5867 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.033e-05/0.1269, allocations: 177.3 kB / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.1269, allocations: 384 / 0.5868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.1269, allocations: 4.375 kB / 0.5868 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.1271, allocations: 70.22 kB / 0.5869 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1271, allocations: 3.938 kB / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1272, allocations: 7.922 kB / 0.5869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.1272, allocations: 0 / 0.5869 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.1274, allocations: 83.91 kB / 0.587 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.1277, allocations: 284.8 kB / 0.5873 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1279, allocations: 66.53 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.1281, allocations: 52.91 kB / 0.5874 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/0.1283, allocations: 113 kB / 0.5875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.1283, allocations: 30.56 kB / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1283, allocations: 0 / 0.5875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004981/0.1288, allocations: 149.5 kB / 0.5877 GB, free: 0.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.1289, allocations: 51.41 kB / 0.5877 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.077e-05/0.129, allocations: 132.7 kB / 0.5878 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.129, allocations: 25.7 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.129, allocations: 88.14 kB / 0.588 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.129, allocations: 25.47 kB / 0.588 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.1291, allocations: 9.719 kB / 0.588 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.1292, allocations: 318.8 kB / 0.5883 GB, free: 284 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1293, allocations: 35.95 kB / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1294, allocations: 43.89 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.1297, allocations: 80.72 kB / 0.5884 GB, free: 120 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1297, allocations: 0 / 0.5884 GB, free: 120 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003059/0.13, allocations: 113.5 kB / 0.5886 GB, free: 0 / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1301, allocations: 10.02 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1301, allocations: 4 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.1301, allocations: 0 / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1302, allocations: 19.92 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.1302, allocations: 0 / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.1303, allocations: 7.984 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1303, allocations: 4 kB / 0.5886 GB, free: 15.96 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.1304, allocations: 121.7 kB / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.1304, allocations: 11.89 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.1307, allocations: 113.5 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1307, allocations: 0 / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1307, allocations: 4 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.1307, allocations: 288 / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1309, allocations: 181.6 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1309, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.963e-05/0.131, allocations: 19.98 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.131, allocations: 0 / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.131, allocations: 7.969 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.131, allocations: 0 / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.131, allocations: 4 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.1314, allocations: 207.4 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.1314, allocations: 85 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.1314, allocations: 4 kB / 0.5893 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.1315, allocations: 7.984 kB / 0.5893 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.1316, allocations: 8 kB / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1316, allocations: 0 / 0.5893 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.1316, allocations: 107.2 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1316, allocations: 0 / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002144/0.1318, allocations: 16 kB / 0.5895 GB, free: 14.97 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005498/0.1324, allocations: 0.7435 MB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.1327, allocations: 75.92 kB / 0.5903 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1327, allocations: 0 / 0.5903 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1329, allocations: 47.89 kB / 0.5903 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1331, allocations: 7.938 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.1335, allocations: 199 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.1337, allocations: 0.6924 MB / 0.5912 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.1337, allocations: 0 / 0.5912 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1337, allocations: 19.42 kB / 0.5912 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1337, allocations: 4 kB / 0.5912 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4929/0.6266, allocations: 1.841 MB / 0.593 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.443/10.07, allocations: 6.344 kB / 0.593 GB, free: 11.33 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)