Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005363/0.0005363, allocations: 0 / 0, free: 0 / 0 " [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.0004018/0.0004018, allocations: 0 / 0, free: 0 / 0 " [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.3559/0.3559, allocations: 0 / 0, free: 0 / 0 " [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-535:34: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-535:42: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.3175/0.3175, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.BoundaryConditions.Examples.StrobeInfoManager_offset,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_StrobeInfoManager_offset",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_StrobeInfoManager_offset",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.846e-06/2.846e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.923e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset): time 0.006292/0.006312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.009564/0.01588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0006933/0.01657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0009652/0.01753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.00185/0.01938, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.02082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002617/0.02344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0009207/0.02436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.02675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.02833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0004008/0.02873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0008548/0.02958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0009236/0.03051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001339/0.03184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.004312/0.03616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002311/0.03639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 5.741e-06/0.03639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.892e-05/0.03641, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.008386/0.0448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.000134/0.04493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001027/0.04596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.04771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.005111/0.05282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.05298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005227/0.05351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.007975/0.06148, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.198e-05/0.06156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004266/0.06199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.06205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.07345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02065/0.09409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.1058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/0.1082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.1084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004377/0.1128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=98): time 0.0001857/0.113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=98): time 0.01213/0.1251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003668/0.1255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006994/0.1325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0006959/0.1332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.1345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0007895/0.1353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/0.137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003165/0.1373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/0.1404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.003764/0.1441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.007062/0.1512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-05/0.1512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=155) (initialization): time 0.01153/0.1627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.526e-05/0.1628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.422e-05/0.1629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 8.373e-05/0.163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.1653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.211e-05/0.1654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.1668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004816/0.1673, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.strobe.tabQCon.nextTimeEvent,$whenCondition7,strobe.tabQCon.nextTimeEventScaled,$PRE.strobe.tabQCon.nextTimeEventScaled,strobe.tabQCon.nextTimeEvent,$PRE.strobe.tabQRad.nextTimeEvent,$whenCondition6,strobe.tabQRad.nextTimeEventScaled,$PRE.strobe.tabQRad.nextTimeEventScaled,strobe.tabQRad.nextTimeEvent,$PRE.strobe.tabTSet.nextTimeEvent,$whenCondition5,strobe.tabTSet.nextTimeEventScaled,$PRE.strobe.tabTSet.nextTimeEventScaled,strobe.tabTSet.nextTimeEvent,$PRE.strobe.tabP.nextTimeEvent,$whenCondition4,strobe.tabP.nextTimeEventScaled,$PRE.strobe.tabP.nextTimeEventScaled,strobe.tabP.nextTimeEvent,$PRE.strobe.tabQ.nextTimeEvent,$whenCondition3,strobe.tabQ.nextTimeEventScaled,$PRE.strobe.tabQ.nextTimeEventScaled,strobe.tabQ.nextTimeEvent,$PRE.strobe.tabDHW.nextTimeEvent,$whenCondition2,strobe.tabDHW.nextTimeEventScaled,$PRE.strobe.tabDHW.nextTimeEventScaled,strobe.tabDHW.nextTimeEvent,$PRE.strobe.tabTSet2.nextTimeEvent,$whenCondition1,strobe.tabTSet2.nextTimeEventScaled,$PRE.strobe.tabTSet2.nextTimeEventScaled,strobe.tabTSet2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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.002865/0.1702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/0.1717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/0.185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-05/0.185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.212e-05/0.1851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-05/0.1851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006125/0.1912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/0.1912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/0.1933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-05/0.1933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005345/0.1939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-05/0.1939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.1939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/0.2053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001468/0.2068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/0.2079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.2091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001436/0.2105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005039/0.211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.004695/0.2157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.047e-05/0.2158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.003813/0.2196, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition7,strobe.tabQCon.nextTimeEvent,strobe.tabQCon.nextTimeEventScaled,$whenCondition6,strobe.tabQRad.nextTimeEvent,strobe.tabQRad.nextTimeEventScaled,$whenCondition5,strobe.tabTSet.nextTimeEvent,strobe.tabTSet.nextTimeEventScaled,$whenCondition4,strobe.tabP.nextTimeEvent,strobe.tabP.nextTimeEventScaled,$whenCondition3,strobe.tabQ.nextTimeEvent,strobe.tabQ.nextTimeEventScaled,$whenCondition2,strobe.tabDHW.nextTimeEvent,strobe.tabDHW.nextTimeEventScaled,$whenCondition1,strobe.tabTSet2.nextTimeEvent,strobe.tabTSet2.nextTimeEventScaled) * Number of discrete states: 14 (strobe.tabTSet2.nextTimeEvent,strobe.tabTSet2.nextTimeEventScaled,strobe.tabDHW.nextTimeEvent,strobe.tabDHW.nextTimeEventScaled,strobe.tabQ.nextTimeEvent,strobe.tabQ.nextTimeEventScaled,strobe.tabP.nextTimeEvent,strobe.tabP.nextTimeEventScaled,strobe.tabTSet.nextTimeEvent,strobe.tabTSet.nextTimeEventScaled,strobe.tabQRad.nextTimeEvent,strobe.tabQRad.nextTimeEventScaled,strobe.tabQCon.nextTimeEvent,strobe.tabQCon.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (168): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.01378/0.2333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.007147/0.2405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.2405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.003647/0.2442, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004992/0.2491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05892/0.3081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/0.3109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.002644/0.3135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006551/0.3201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001172/0.3212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.0168/0.338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.00921/0.3472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.03997/0.3872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 1.742e-05/0.3872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 2.186e-05/0.3873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (150.4 MB unzipped): time 0.07967/0.4669, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset,startTime=0,stopTime=1e+06,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1e+06 -tolerance=1e-06 -stepSize=400 -noemit",resimulateExecutable="IDEAS_dev_IDEAS_BoundaryConditions_Examples_StrobeInfoManager_offset.fmu") [Timeout 240] "" [Timeout remaining time 233] simulate(IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset,startTime=0,stopTime=1e+06,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1e+06 -tolerance=1e-06 -stepSize=400 -noemit -s fmi3:me:daskr",resimulateExecutable="IDEAS_dev_IDEAS_BoundaryConditions_Examples_StrobeInfoManager_offset.fmu") [Timeout 240] "" [Timeout remaining time 226] simulate(IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset,startTime=0,stopTime=1e+06,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset",simflags=" -alarm=240 -lv LOG_STATS -startTime=0 -stopTime=1e+06 -tolerance=1e-06 -stepSize=400 -noemit -s fmi3:cs",resimulateExecutable="IDEAS_dev_IDEAS_BoundaryConditions_Examples_StrobeInfoManager_offset.fmu") [Timeout 240] "" [Timeout remaining time 226] [Calling sys.exit(0), Time elapsed: 37.39488638599869]