Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007802/0.0007802, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008615/0.0008615, allocations: 218.3 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9424/0.9424, allocations: 230.6 MB / 256 MB, free: 9.789 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7943/0.7943, allocations: 203.8 MB / 0.5042 GB, free: 10.68 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009374/0.0009374, allocations: 71.25 kB / 0.7183 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5337, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001507/0.5353, allocations: 0.6109 MB / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006936/0.5359, allocations: 0.8463 MB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.536, allocations: 0 / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.536, allocations: 0 / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.5361, allocations: 5.438 kB / 0.8193 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.5363, allocations: 19.64 kB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.268e-05/0.5364, allocations: 14.8 kB / 0.8194 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.5364, allocations: 7.344 kB / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.5366, allocations: 21.81 kB / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.5366, allocations: 15.08 kB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.5366, allocations: 0 / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.11e-05/0.5367, allocations: 2.734 kB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.5367, allocations: 0 / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.5367, allocations: 11.38 kB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.5368, allocations: 25.03 kB / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.5368, allocations: 0 / 0.8194 GB, free: 176 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5368, allocations: 3.938 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.5368, allocations: 1.125 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003802/0.5372, allocations: 254.3 kB / 0.8197 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5373, allocations: 10.47 kB / 0.8197 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.5373, allocations: 34.69 kB / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.5374, allocations: 14.59 kB / 0.8197 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.5375, allocations: 110 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.5375, allocations: 1.031 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.5375, allocations: 1.469 kB / 0.8198 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.5377, allocations: 36.31 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5377, allocations: 11.88 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.5377, allocations: 0 / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5377, allocations: 0.6562 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.413e-05/0.5377, allocations: 15.8 kB / 0.8199 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.5379, allocations: 123.1 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.263e-05/0.5379, allocations: 27.73 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.5379, allocations: 10.48 kB / 0.8201 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.538, allocations: 4 kB / 0.8201 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.538, allocations: 38.22 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.538, allocations: 3.984 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001693/0.5381, allocations: 53.42 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.5382, allocations: 55.41 kB / 0.8202 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.5383, allocations: 101 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.5383, allocations: 25.83 kB / 0.8203 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.5383, allocations: 88.94 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.5383, allocations: 6.234 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.5383, allocations: 14.83 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.5384, allocations: 315.6 kB / 0.8207 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.5385, allocations: 6.359 kB / 0.8207 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.5385, allocations: 4.797 kB / 0.8207 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.5385, allocations: 25.67 kB / 0.8208 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5385, allocations: 0 / 0.8208 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.002e-05/0.5386, allocations: 47.92 kB / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5386, allocations: 10.25 kB / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5386, allocations: 0 / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5387, allocations: 0 / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.5387, allocations: 6.984 kB / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5387, allocations: 0 / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.5387, allocations: 5.031 kB / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.5388, allocations: 4.531 kB / 0.8208 GB, free: 14.72 MB / 0.6198 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 (1): * Single equations (assignments): 1 * 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.84e-05/0.5388, allocations: 113.8 kB / 0.8209 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.5388, allocations: 8.547 kB / 0.821 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.5388, allocations: 14.39 kB / 0.821 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5388, allocations: 0 / 0.821 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5388, allocations: 0.6562 kB / 0.821 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5388, allocations: 3.938 kB / 0.821 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.485e-05/0.5389, allocations: 124.1 kB / 0.8211 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-07/0.5389, allocations: 0 / 0.8211 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.5389, allocations: 8.641 kB / 0.8211 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5389, allocations: 4.969 kB / 0.8211 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.5389, allocations: 2.406 kB / 0.8211 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.7e-07/0.5389, allocations: 0 / 0.8211 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5389, allocations: 0 / 0.8211 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.081e-05/0.539, allocations: 75.62 kB / 0.8212 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.539, allocations: 5.516 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.539, allocations: 8.438 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-06/0.5391, allocations: 0.6094 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.5391, allocations: 1.266 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.5391, allocations: 0 / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.5391, allocations: 85.45 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5391, allocations: 0 / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001153/0.5392, allocations: 3.453 kB / 0.8213 GB, free: 14.25 MB / 0.6198 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 (1): * Single equations (assignments): 1 * 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.0003437/0.5396, allocations: 0.6033 MB / 0.8219 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.917e-05/0.5397, allocations: 20.52 kB / 0.8219 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.5397, allocations: 2.062 kB / 0.8219 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.15e-05/0.5397, allocations: 7.266 kB / 0.8219 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.5398, allocations: 10.81 kB / 0.8219 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.5402, allocations: 132.1 kB / 0.822 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.5404, allocations: 0.6715 MB / 0.8227 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.5404, allocations: 0.9375 kB / 0.8227 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.5404, allocations: 13.39 kB / 0.8227 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of SimCode: time 6.62e-07/0.5404, allocations: 0 / 0.8227 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.557, allocations: 1.216 MB / 0.8239 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.437/6.994, allocations: 9.906 kB / 0.8239 GB, free: 12.38 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.91056369501166] Failed to read output from testmodel.py, exit status != 0: 7.071397390915081 7.083629153 6.544625321 Calling exit ...