Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized",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.001218/0.001218, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001287, allocations: 195.1 kB / 16.25 MB, free: 6.621 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.246/1.246, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001813/0.001813, allocations: 286.6 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8424/0.8424, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 94.03 kB / 0.5948 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.117, allocations: 86.99 MB / 0.6797 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.00201/0.1191, allocations: 1.489 MB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.12, allocations: 0.788 MB / 0.682 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.12, allocations: 4 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.1201, allocations: 3.938 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.26e-05/0.1201, allocations: 0.6875 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.1204, allocations: 110.6 kB / 0.6821 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.926e-05/0.1205, allocations: 31.92 kB / 0.6821 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.473e-05/0.1206, allocations: 11.98 kB / 0.6821 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.1206, allocations: 8 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.1207, allocations: 27.91 kB / 0.6821 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1207, allocations: 4 kB / 0.6822 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.121, allocations: 315.3 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.121, allocations: 8 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.1211, allocations: 11.92 kB / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1213, allocations: 195.9 kB / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1213, allocations: 4 kB / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1213, allocations: 0 / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1213, allocations: 0 / 0.6827 GB, free: 13.97 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000398/0.1217, allocations: 371.5 kB / 0.683 GB, free: 13.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.1218, allocations: 8.031 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.1218, allocations: 38.73 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.1222, allocations: 68.8 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.216e-05/0.1223, allocations: 172.2 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1223, allocations: 4.375 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1223, allocations: 4.359 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.1226, allocations: 89.75 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.1226, allocations: 0 / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1226, allocations: 4 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.1226, allocations: 0 / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.123, allocations: 87.91 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.1234, allocations: 308.7 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.1237, allocations: 94.5 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.1239, allocations: 44.88 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.1239, allocations: 4 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.1239, allocations: 38.56 kB / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.1239, allocations: 0 / 0.6839 GB, free: 12.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006121/0.1246, allocations: 165.5 kB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.1246, allocations: 55.53 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.1247, allocations: 105.8 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1247, allocations: 25.7 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.1247, allocations: 88.14 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.1247, allocations: 3.906 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.1248, allocations: 17.7 kB / 0.6844 GB, free: 11.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.1248, allocations: 318.8 kB / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.125, allocations: 43.95 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.1252, allocations: 43.95 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.1256, allocations: 92.83 kB / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1256, allocations: 0 / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003854/0.126, allocations: 129.5 kB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.126, allocations: 4 kB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-06/0.126, allocations: 0 / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.126, allocations: 0 / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1261, allocations: 23.97 kB / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1262, allocations: 0 / 0.685 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1263, allocations: 23.94 kB / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1263, allocations: 4 kB / 0.685 GB, free: 11.3 MB / 494.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.1263, allocations: 110.4 kB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.1264, allocations: 7.906 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.1264, allocations: 7.125 kB / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1264, allocations: 0 / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.1264, allocations: 0 / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-06/0.1264, allocations: 0 / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.1266, allocations: 177.6 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1266, allocations: 0 / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.1267, allocations: 23.97 kB / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1267, allocations: 0 / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1267, allocations: 0 / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1267, allocations: 256 / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1267, allocations: 0 / 0.6853 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.1271, allocations: 227.3 kB / 0.6856 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.1272, allocations: 81.11 kB / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1272, allocations: 4 kB / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1273, allocations: 15.97 kB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.1274, allocations: 4 kB / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1274, allocations: 0 / 0.6857 GB, free: 10.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.129e-05/0.1274, allocations: 91.3 kB / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1274, allocations: 0 / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.1276, allocations: 16 kB / 0.6858 GB, free: 10.46 MB / 494.1 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 () * Number of clocked 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 (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.0006374/0.1283, allocations: 0.7668 MB / 0.6865 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003885/0.1287, allocations: 103.9 kB / 0.6866 GB, free: 9.562 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.1287, allocations: 0 / 0.6866 GB, free: 9.562 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.1289, allocations: 48.02 kB / 0.6867 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1291, allocations: 10.23 kB / 0.6867 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.1297, allocations: 200.8 kB / 0.6869 GB, free: 9.273 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.1298, allocations: 0.6768 MB / 0.6875 GB, free: 8.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.006e-05/0.1299, allocations: 12 kB / 0.6875 GB, free: 8.559 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.1299, allocations: 15.38 kB / 0.6875 GB, free: 8.543 MB / 494.1 MB Notification: Performance of SimCode: time 1.9e-07/0.13, allocations: 0 / 0.6875 GB, free: 8.543 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.109/1.239, allocations: 1.523 MB / 0.689 GB, free: 7.156 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/1.239, allocations: 221 kB / 0.6892 GB, free: 6.898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.686, allocations: 0 / 0.6892 GB, free: 6.898 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_InverseXRegularized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)