Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.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.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder",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.00163/0.00163, 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.001998/0.001998, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9807/0.9807, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 59.69 kB / 0.505 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1797, allocations: 80.92 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004653/0.1844, allocations: 2.635 MB / 0.5866 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1862, allocations: 0.8729 MB / 0.5874 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.1866, allocations: 15.94 kB / 0.5874 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.187, allocations: 43.64 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.1873, allocations: 47.59 kB / 0.5875 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.188, allocations: 211.9 kB / 0.5877 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006877/0.1887, allocations: 463.6 kB / 0.5882 GB, free: 464 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.1891, allocations: 233.1 kB / 0.5884 GB, free: 228 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.1893, allocations: 143.4 kB / 0.5885 GB, free: 84 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.1896, allocations: 147.2 kB / 0.5887 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.1897, allocations: 52 kB / 0.5887 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.037e-05/0.1898, allocations: 48 kB / 0.5888 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.1899, allocations: 87.7 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.19, allocations: 199 kB / 0.589 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006188/0.1907, allocations: 0.5961 MB / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1907, allocations: 0 / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1907, allocations: 4 kB / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.482e-05/0.1907, allocations: 4 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001188/0.1919, allocations: 0.6428 MB / 0.5903 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.192, allocations: 12.03 kB / 0.5903 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.525e-05/0.1921, allocations: 58.73 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.769e-05/0.1922, allocations: 52.31 kB / 0.5904 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.1926, allocations: 383.3 kB / 0.5907 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.1927, allocations: 20.92 kB / 0.5908 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.1927, allocations: 28.38 kB / 0.5908 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/0.1933, allocations: 321.5 kB / 0.5911 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1934, allocations: 4 kB / 0.5911 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.1934, allocations: 12 kB / 0.5911 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1934, allocations: 8 kB / 0.5911 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.1939, allocations: 234.1 kB / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.1955, allocations: 1.166 MB / 0.5925 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.196, allocations: 237.8 kB / 0.5927 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.1962, allocations: 96.77 kB / 0.5928 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.1963, allocations: 7.922 kB / 0.5928 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1963, allocations: 38.56 kB / 0.5928 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.1963, allocations: 0 / 0.5928 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006344/0.197, allocations: 297.2 kB / 0.5931 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.197, allocations: 81.11 kB / 0.5932 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.1974, allocations: 336.3 kB / 0.5935 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1974, allocations: 29.7 kB / 0.5935 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1975, allocations: 192.1 kB / 0.5937 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.1976, allocations: 51.27 kB / 0.5938 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.011e-05/0.1977, allocations: 41.7 kB / 0.5938 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1978, allocations: 338.8 kB / 0.5941 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.198, allocations: 96.77 kB / 0.5942 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.1982, allocations: 119.3 kB / 0.5943 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.1986, allocations: 184.8 kB / 0.5945 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1986, allocations: 0 / 0.5945 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005082/0.1991, allocations: 257.2 kB / 0.5948 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1991, allocations: 7.938 kB / 0.5948 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1991, allocations: 4 kB / 0.5948 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1992, allocations: 0 / 0.5948 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.1993, allocations: 32.05 kB / 0.5948 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1994, allocations: 7.938 kB / 0.5948 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1995, allocations: 35.61 kB / 0.5949 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1995, allocations: 4 kB / 0.5949 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002402/0.1998, allocations: 192.1 kB / 0.595 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001526/0.1999, allocations: 105.4 kB / 0.5951 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002457/0.2002, allocations: 168.6 kB / 0.5953 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.2002, allocations: 0 / 0.5953 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003944/0.2006, allocations: 223.2 kB / 0.5955 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.2006, allocations: 8 kB / 0.5955 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.2006, allocations: 0 / 0.5955 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-06/0.2006, allocations: 0 / 0.5955 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2008, allocations: 39.98 kB / 0.5956 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2008, allocations: 4 kB / 0.5956 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.2009, allocations: 23.77 kB / 0.5956 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.2009, allocations: 8 kB / 0.5956 GB, free: 8.535 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001175/0.201, allocations: 188.2 kB / 0.5958 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.2011, allocations: 27.62 kB / 0.5958 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.069e-05/0.2012, allocations: 35.28 kB / 0.5958 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2012, allocations: 4 kB / 0.5958 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2012, allocations: 3.938 kB / 0.5958 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.2012, allocations: 4 kB / 0.5958 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.2017, allocations: 401.4 kB / 0.5962 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2017, allocations: 0 / 0.5962 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.2018, allocations: 23.98 kB / 0.5962 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.2019, allocations: 4 kB / 0.5963 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.2019, allocations: 7.984 kB / 0.5963 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2019, allocations: 0 / 0.5963 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2019, allocations: 7.875 kB / 0.5963 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.2026, allocations: 437.5 kB / 0.5967 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2027, allocations: 136.7 kB / 0.5968 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.2028, allocations: 4 kB / 0.5968 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.2029, allocations: 11.98 kB / 0.5968 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.203, allocations: 15.92 kB / 0.5968 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.203, allocations: 4 kB / 0.5968 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002203/0.2032, allocations: 235.1 kB / 0.5971 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2032, allocations: 0 / 0.5971 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003756/0.2036, allocations: 91.59 kB / 0.5972 GB, free: 6.836 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0008606/0.2045, allocations: 0.9736 MB / 0.5981 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005577/0.205, allocations: 279.8 kB / 0.5984 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.205, allocations: 4 kB / 0.5984 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.2052, allocations: 94.72 kB / 0.5985 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006224/0.2059, allocations: 97.11 kB / 0.5986 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/0.2099, allocations: 3.046 MB / 0.6015 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.2102, allocations: 0.7714 MB / 0.6023 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.2103, allocations: 26.28 kB / 0.6023 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.2105, allocations: 107.4 kB / 0.6024 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2105, allocations: 0 / 0.6024 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3045/0.515, allocations: 6.418 MB / 0.6087 GB, free: 52.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/0.5152, allocations: 204.6 kB / 0.6089 GB, free: 52.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.441, allocations: 3.859 kB / 0.6089 GB, free: 52.01 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)