Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.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.0006356/0.0006356, allocations: 72.27 kB / 9.855 MB, free: 0.8438 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008903/0.001526, allocations: 447.7 kB / 10.29 MB, free: 416 kB / 10.45 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.0006833/0.0006833, allocations: 153.9 kB / 11.18 MB, free: 2.996 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009015/0.001585, allocations: 472.2 kB / 11.64 MB, free: 2.531 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.7994/0.7994, allocations: 177.1 MB / 189.5 MB, free: 3.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1275/0.9269, allocations: 53.66 MB / 243.2 MB, free: 2.367 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.03515/0.03515, allocations: 9.169 MB / 253.1 MB, free: 8.93 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.003371/0.03852, allocations: 3.456 MB / 256.5 MB, free: 5.473 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 257.8 MB, free: 4.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.863e-06/8.556e-06, allocations: 2.312 kB / 257.8 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.002717/0.002726, allocations: 3.009 MB / 260.8 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007279/0.003454, allocations: 0.7662 MB / 261.6 MB, free: 444 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.003517, allocations: 11.88 kB / 261.6 MB, free: 432 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.003641, allocations: 71.33 kB / 261.6 MB, free: 360 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.986e-05/0.003731, allocations: 47.53 kB / 261.7 MB, free: 312 kB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Blocks/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.004056, allocations: 235.1 kB / 261.9 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.00431, allocations: 319.1 kB / 262.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.004465, allocations: 117.6 kB / 262.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.004625, allocations: 227.5 kB / 262.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.004769, allocations: 143.5 kB / 262.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.004805, allocations: 36 kB / 262.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.004961, allocations: 163.6 kB / 262.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.005032, allocations: 87.77 kB / 263 MB, free: 15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.005097, allocations: 87.75 kB / 263.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.005396, allocations: 366.5 kB / 263.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.005403, allocations: 0 / 263.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.005403, allocations: 0 / 263.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.005411, allocations: 0 / 263.4 MB, free: 14.55 MB / 266.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getReal.pkgOut[1].pkg = getInteger.pkgIn.pkg sharedMemoryRead.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addReal.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0007578/0.006169, allocations: 0.7422 MB / 264.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.006198, allocations: 16.92 kB / 264.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.006242, allocations: 74.66 kB / 264.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.006295, allocations: 56.89 kB / 264.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.006453, allocations: 197.7 kB / 264.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.006475, allocations: 25.03 kB / 264.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.006503, allocations: 36.36 kB / 264.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.006766, allocations: 311.3 kB / 264.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.006775, allocations: 192 / 264.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.006792, allocations: 16.36 kB / 264.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.0068, allocations: 16.06 kB / 264.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.006907, allocations: 98.22 kB / 265 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007149/0.007622, allocations: 1.039 MB / 266 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.007793, allocations: 212.7 kB / 266.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.007849, allocations: 60.27 kB / 266.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.007874, allocations: 12 kB / 266.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.008011, allocations: 179.3 kB / 266.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.193e-06/0.008012, allocations: 0 / 266.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002497/0.008262, allocations: 212.1 kB / 266.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.008321, allocations: 178.1 kB / 266.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.008639, allocations: 216.3 kB / 267.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.008662, allocations: 41.7 kB / 267.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.008725, allocations: 172.8 kB / 267.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.00877, allocations: 91.34 kB / 267.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.008858, allocations: 106 kB / 267.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.008931, allocations: 350.7 kB / 267.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.721e-05/0.008978, allocations: 32.98 kB / 267.9 MB, free: 9.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.009096, allocations: 209.5 kB / 268.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.009296, allocations: 299.1 kB / 268.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.009298, allocations: 0 / 268.4 MB, free: 9.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002372/0.009536, allocations: 273.2 kB / 268.6 MB, free: 8.852 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.009546, allocations: 4 kB / 268.6 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.009552, allocations: 8.719 kB / 268.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.009565, allocations: 12 kB / 268.6 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.009719, allocations: 91.83 kB / 268.7 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.009727, allocations: 15.92 kB / 268.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.648e-05/0.009804, allocations: 31.78 kB / 268.8 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.009823, allocations: 23.92 kB / 268.8 MB, free: 8.668 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 50 (sharedMemoryRead.pkgOut.dummy,$PRE.sharedMemoryRead.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,sharedMemoryWrite.dummy,$PRE.sharedMemoryWrite.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.u[1],sharedMemoryRead.internalTrigger,sharedMemoryWrite.internalTrigger,getInteger.pkgIn.backwardTrigger,getInteger.pkgIn.userPkgBitSize,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,enable.y,sharedMemoryRead.bufferSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,sharedMemoryWrite.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 9.855e-05/0.009922, allocations: 173.9 kB / 269 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.009953, allocations: 31.97 kB / 269 MB, free: 8.457 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.01009, allocations: 126.7 kB / 269.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01009, allocations: 7.938 kB / 269.1 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.0101, allocations: 4 kB / 269.1 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0101, allocations: 0 / 269.1 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.01046, allocations: 493.8 kB / 269.6 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01046, allocations: 0 / 269.6 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.0105, allocations: 19.92 kB / 269.6 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.0105, allocations: 4 kB / 269.6 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01051, allocations: 11.98 kB / 269.7 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.01052, allocations: 3.938 kB / 269.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01052, allocations: 8 kB / 269.7 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.0107, allocations: 328.3 kB / 270 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.01072, allocations: 23.8 kB / 270 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.01074, allocations: 8 kB / 270 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.596e-05/0.01079, allocations: 15.92 kB / 270 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.01083, allocations: 19.97 kB / 270.1 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.01084, allocations: 7.984 kB / 270.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.061e-05/0.01087, allocations: 56.66 kB / 270.1 MB, free: 7.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01087, allocations: 0 / 270.1 MB, free: 7.277 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000261/0.01114, allocations: 123.6 kB / 270.2 MB, free: 7.156 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 30 (sharedMemoryWrite.internalTrigger,sharedMemoryRead.internalTrigger,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,zeroCrossing1.u_pos,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (zeroCrossing1.u_pos) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.0007829/0.01192, allocations: 1.071 MB / 271.3 MB, free: 6.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.01212, allocations: 177.8 kB / 271.5 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.01213, allocations: 4 kB / 271.5 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.01221, allocations: 84.61 kB / 271.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.01241, allocations: 52.02 kB / 271.6 MB, free: 5.836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.01363, allocations: 1.708 MB / 273.3 MB, free: 3.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.909e-05/0.01368, allocations: 97.03 kB / 273.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.01374, allocations: 30.97 kB / 273.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.01387, allocations: 163.3 kB / 273.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01388, allocations: 0 / 273.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.0243/0.03817, allocations: 9.189 MB / 282.8 MB, free: 10.79 MB / 282.7 MB Notification: FMU-only work: backend 0.0002423, simCode 0.0006201, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05871/0.09688, allocations: 1.513 MB / 284.3 MB, free: 9.129 MB / 282.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.5/2.597, allocations: 23.39 kB / 284.3 MB, free: 9.105 MB / 282.7 MB " [Timeout remaining time 657] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-euler.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-euler.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.002 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_SharedMemoryExternalTrigger_fmpy-fmi3-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 4.805050772614777]