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.00559/0.00559, allocations: 102.8 kB / 15.73 MB, free: 5.59 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.001325/0.001325, allocations: 191.1 kB / 16.67 MB, free: 5.523 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 287.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8791/0.8791, allocations: 169.3 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 91.86 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4216, allocations: 86.97 MB / 0.7659 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.003263/0.4249, allocations: 1.437 MB / 0.7673 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.4261, allocations: 0.7997 MB / 0.7681 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.4262, allocations: 4 kB / 0.7681 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.4262, allocations: 0 / 0.7681 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.4263, allocations: 3.938 kB / 0.7681 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.4268, allocations: 127.5 kB / 0.7682 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.679e-05/0.4269, allocations: 35.91 kB / 0.7683 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.427, allocations: 7.984 kB / 0.7683 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.4271, allocations: 11.94 kB / 0.7683 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.4271, allocations: 27.91 kB / 0.7683 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.4272, allocations: 4 kB / 0.7683 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.4276, allocations: 315.3 kB / 0.7686 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.4277, allocations: 8 kB / 0.7686 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.4277, allocations: 11.92 kB / 0.7686 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.4281, allocations: 195.6 kB / 0.7688 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.4281, allocations: 4 kB / 0.7688 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4281, allocations: 0 / 0.7688 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.4281, allocations: 0 / 0.7688 GB, free: 1.008 MB / 0.5294 GB 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.0005343/0.4287, allocations: 375.4 kB / 0.7692 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4287, allocations: 8.031 kB / 0.7692 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.4287, allocations: 34.73 kB / 0.7692 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/0.4292, allocations: 68.86 kB / 0.7693 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.4293, allocations: 172.2 kB / 0.7694 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.4293, allocations: 4.375 kB / 0.7694 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.4294, allocations: 384 / 0.7694 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.4297, allocations: 89.75 kB / 0.7695 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4297, allocations: 0 / 0.7695 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4297, allocations: 3.938 kB / 0.7695 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4297, allocations: 0 / 0.7695 GB, free: 172 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.4301, allocations: 91.89 kB / 0.7696 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.4306, allocations: 296.8 kB / 0.7699 GB, free: 15.74 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.4309, allocations: 102.4 kB / 0.77 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.4311, allocations: 44.88 kB / 0.77 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.4312, allocations: 0 / 0.77 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.4312, allocations: 42.5 kB / 0.7701 GB, free: 15.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.4312, allocations: 0 / 0.7701 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0006737/0.4319, allocations: 169.5 kB / 0.7702 GB, free: 15.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.4319, allocations: 51.41 kB / 0.7703 GB, free: 15.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.432, allocations: 102 kB / 0.7704 GB, free: 15.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.432, allocations: 29.83 kB / 0.7704 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.4321, allocations: 88.14 kB / 0.7705 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.4321, allocations: 7.844 kB / 0.7705 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.4321, allocations: 17.7 kB / 0.7705 GB, free: 15.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4322, allocations: 318.8 kB / 0.7708 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.4324, allocations: 43.95 kB / 0.7709 GB, free: 14.67 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.4326, allocations: 48.02 kB / 0.7709 GB, free: 14.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.433, allocations: 88.83 kB / 0.771 GB, free: 14.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.433, allocations: 0 / 0.771 GB, free: 14.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004105/0.4334, allocations: 133.4 kB / 0.7711 GB, free: 14.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4335, allocations: 10.53 kB / 0.7711 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4335, allocations: 0 / 0.7711 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4335, allocations: 0 / 0.7711 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.4336, allocations: 23.97 kB / 0.7712 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4336, allocations: 0 / 0.7712 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.4338, allocations: 15.97 kB / 0.7712 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.4338, allocations: 8 kB / 0.7712 GB, free: 14.34 MB / 0.545 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 (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 7.179e-05/0.4339, allocations: 109.8 kB / 0.7713 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.4339, allocations: 4 kB / 0.7713 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.4339, allocations: 7.125 kB / 0.7713 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4339, allocations: 0 / 0.7713 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4339, allocations: 0 / 0.7713 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4339, allocations: 0 / 0.7713 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.4341, allocations: 173.6 kB / 0.7715 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4341, allocations: 0 / 0.7715 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.4343, allocations: 27.97 kB / 0.7715 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4343, allocations: 0 / 0.7715 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.4343, allocations: 0 / 0.7715 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.4343, allocations: 0 / 0.7715 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4343, allocations: 3.938 kB / 0.7715 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.4347, allocations: 231.3 kB / 0.7717 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.4348, allocations: 85.05 kB / 0.7718 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.4348, allocations: 4 kB / 0.7718 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.435, allocations: 15.97 kB / 0.7718 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.435, allocations: 4 kB / 0.7718 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.435, allocations: 0 / 0.7718 GB, free: 13.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.4351, allocations: 91.27 kB / 0.7719 GB, free: 13.51 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4351, allocations: 0 / 0.7719 GB, free: 13.51 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002373/0.4353, allocations: 12 kB / 0.7719 GB, free: 13.5 MB / 0.545 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 (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.000726/0.436, allocations: 0.7631 MB / 0.7727 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004042/0.4365, allocations: 99.92 kB / 0.7728 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4365, allocations: 0 / 0.7728 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.4367, allocations: 48.02 kB / 0.7728 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.4369, allocations: 7.984 kB / 0.7728 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006637/0.4376, allocations: 187.3 kB / 0.773 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.4378, allocations: 0.6768 MB / 0.7737 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.237e-05/0.4379, allocations: 11.94 kB / 0.7737 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.438, allocations: 11.44 kB / 0.7737 GB, free: 11.6 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.438, allocations: 4 kB / 0.7737 GB, free: 11.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.4542, allocations: 1.715 MB / 0.7754 GB, free: 10 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.417, allocations: 8.562 kB / 0.7754 GB, free: 9.996 MB / 0.545 GB (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)