Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001348/0.001348, allocations: 68.47 kB / 19.02 MB, free: 1.125 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.00147/0.00147, allocations: 159.2 kB / 22.29 MB, free: 3.523 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 1.4/1.4, allocations: 177.2 MB / 202.7 MB, free: 4.82 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.257/1.257, allocations: 154.7 MB / 413.8 MB, free: 3.129 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_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.002124/0.002124, allocations: 75.98 kB / 0.6181 GB, free: 1.09 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2253, allocations: 102 MB / 0.7177 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001723/0.227, allocations: 0.592 MB / 0.7183 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.2281, allocations: 0.8436 MB / 0.7191 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.2282, allocations: 3.938 kB / 0.7191 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.2282, allocations: 0 / 0.7191 GB, free: 9.766 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/0.2282, allocations: 3.938 kB / 0.7191 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.2284, allocations: 19.92 kB / 0.7191 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.2285, allocations: 23.92 kB / 0.7191 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.2286, allocations: 0 / 0.7191 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.2287, allocations: 15.98 kB / 0.7192 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.2288, allocations: 11.92 kB / 0.7192 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.2288, allocations: 0 / 0.7192 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.2288, allocations: 8 kB / 0.7192 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.2288, allocations: 3.984 kB / 0.7192 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.2288, allocations: 4 kB / 0.7192 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.229, allocations: 23.84 kB / 0.7192 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.229, allocations: 0 / 0.7192 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.202e-06/0.229, allocations: 8 kB / 0.7192 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.229, allocations: 0 / 0.7192 GB, free: 9.645 MB / 0.6198 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.0004198/0.2294, allocations: 250.4 kB / 0.7194 GB, free: 9.367 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2294, allocations: 12.03 kB / 0.7195 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.2295, allocations: 34.69 kB / 0.7195 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.2296, allocations: 12.88 kB / 0.7195 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2297, allocations: 110.5 kB / 0.7196 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.2298, allocations: 384 / 0.7196 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.2298, allocations: 384 / 0.7196 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.2299, allocations: 46.25 kB / 0.7197 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2299, allocations: 7.938 kB / 0.7197 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.2299, allocations: 0 / 0.7197 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2299, allocations: 0 / 0.7197 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.925e-05/0.23, allocations: 15.92 kB / 0.7197 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.2302, allocations: 124.8 kB / 0.7198 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.024e-05/0.2302, allocations: 22.52 kB / 0.7198 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.2303, allocations: 16.91 kB / 0.7198 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.2303, allocations: 4 kB / 0.7198 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2303, allocations: 34.56 kB / 0.7199 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.2303, allocations: 0 / 0.7199 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000219/0.2306, allocations: 53.62 kB / 0.7199 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.2306, allocations: 55.34 kB / 0.72 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.2307, allocations: 105.8 kB / 0.7201 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.2307, allocations: 25.7 kB / 0.7201 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.2308, allocations: 84.08 kB / 0.7202 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.2308, allocations: 7.891 kB / 0.7202 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.2308, allocations: 17.72 kB / 0.7202 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.231, allocations: 319 kB / 0.7205 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.95e-05/0.231, allocations: 4 kB / 0.7205 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.2311, allocations: 7.984 kB / 0.7205 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.014e-05/0.2311, allocations: 24.84 kB / 0.7205 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2311, allocations: 0 / 0.7205 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001112/0.2312, allocations: 49.62 kB / 0.7206 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2313, allocations: 7.938 kB / 0.7206 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2313, allocations: 4.094 kB / 0.7206 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2313, allocations: 0 / 0.7206 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.2313, allocations: 4 kB / 0.7206 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2314, allocations: 0 / 0.7206 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.2314, allocations: 7.984 kB / 0.7206 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.2314, allocations: 0 / 0.7206 GB, free: 8.008 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 7.965e-05/0.2315, allocations: 105.8 kB / 0.7207 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.2315, allocations: 7.938 kB / 0.7207 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.459e-05/0.2315, allocations: 3.156 kB / 0.7207 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2315, allocations: 0 / 0.7207 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2315, allocations: 4 kB / 0.7207 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2315, allocations: 0 / 0.7207 GB, free: 7.883 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2316, allocations: 124.8 kB / 0.7208 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2316, allocations: 0 / 0.7208 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.2317, allocations: 7.938 kB / 0.7209 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.2317, allocations: 3.938 kB / 0.7209 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2317, allocations: 0 / 0.7209 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2317, allocations: 4.234 kB / 0.7209 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2317, allocations: 0 / 0.7209 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.2318, allocations: 81.02 kB / 0.7209 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.2318, allocations: 4.031 kB / 0.7209 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.2318, allocations: 3.938 kB / 0.7209 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.124e-05/0.2319, allocations: 8 kB / 0.721 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.2319, allocations: 3.984 kB / 0.721 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.2319, allocations: 0 / 0.721 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.232, allocations: 79.28 kB / 0.721 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.232, allocations: 0 / 0.721 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001813/0.2321, allocations: 4 kB / 0.721 GB, free: 7.504 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.0004866/0.2326, allocations: 0.6086 MB / 0.7216 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.2328, allocations: 19.92 kB / 0.7217 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2328, allocations: 3.938 kB / 0.7217 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.2328, allocations: 8 kB / 0.7217 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.2329, allocations: 6.016 kB / 0.7217 GB, free: 6.828 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.2333, allocations: 144.4 kB / 0.7218 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.667e-05/0.2334, allocations: 55.48 kB / 0.7219 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.514e-05/0.2334, allocations: 7.984 kB / 0.7219 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.2334, allocations: 12.48 kB / 0.7219 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.2334, allocations: 0 / 0.7219 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.2633, allocations: 1.736 MB / 0.7236 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.54, allocations: 0.7031 kB / 0.7236 GB, free: 4.926 MB / 0.6198 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.546601497000665] Failed to read output from testmodel.py, exit status != 0: 11.64466427800653 11.672548931 11.438515679 Calling exit ...